From 491ed97b8ea3a5c24610b833f3540ad98b4332cb Mon Sep 17 00:00:00 2001 From: Joseph Hutchinson Date: Tue, 27 Mar 2018 14:13:04 -0400 Subject: [PATCH] Added nav bar and improved card look --- layouts/_default/li.html | 2 +- layouts/_default/list.html | 6 ++++-- layouts/partials/footer.html | 3 +++ layouts/partials/header.html | 3 +++ layouts/partials/scripts.html | 1 + static/css/style.css | 36 ++++++++++++++++++++++++++------ static/js/core.js | 39 +++++++++++++++++++++++++++++++++++ 7 files changed, 81 insertions(+), 9 deletions(-) diff --git a/layouts/_default/li.html b/layouts/_default/li.html index 25cd933..5217082 100644 --- a/layouts/_default/li.html +++ b/layouts/_default/li.html @@ -4,8 +4,8 @@ {{ end }}

{{ .Title }}

-

{{ .Description }}

+
\ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 5830f2d..9205cad 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,16 +2,18 @@ {{ partial "head.html" . }} -
+ {{ partial "header.html" . }} +
{{.Content}}
- {{ range $index, $page := .Paginator.Pages }} + {{ range .Paginator.Pages }} {{ .Render "li" }} {{ end }}
+ {{ partial "footer.html" . }} {{ partial "scripts.html" . }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e69de29..aad942d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -0,0 +1,3 @@ +
+
+
\ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e69de29..aa964bd 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index fa1f3aa..bc3a40b 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1,4 +1,5 @@ +