From 955b4630f91b9b9494253ef4de4b5ff4a818f44c Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Tue, 7 Nov 2017 08:06:15 -0700 Subject: Show header only on index --- layouts/partials/header.html | 11 ----------- layouts/partials/middle.html | 12 ++++++++++++ static/css/style.css | 10 ++++++++-- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 75ecc48..e125dc0 100755 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -26,14 +26,3 @@ - -
- /posts -{{ range $.Site.Params.navigation }}{{ with $.Site.GetPage "page" . }} - ·  /{{ .Title }} -{{ end }}{{ end }} - -{{ if .Draft }} -DRAFT -{{ end }} -
diff --git a/layouts/partials/middle.html b/layouts/partials/middle.html index 3379b64..4e9cb9d 100644 --- a/layouts/partials/middle.html +++ b/layouts/partials/middle.html @@ -1,3 +1,15 @@ + +
+/posts +{{ range $.Site.Params.navigation }}{{ with $.Site.GetPage "page" . }} + ·  /{{ .Title }} +{{ end }}{{ end }} + +{{ if .Draft }} +DRAFT +{{ end }} +
+
{{ range first 100000 .Pages }} {{ if eq .Type "post"}} diff --git a/static/css/style.css b/static/css/style.css index ddffe73..da5a1f4 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -4,12 +4,12 @@ body, li p { font-family: 'Merriweather', serif; } -h1,h2,h3,h4,h5,h6,header,header.a { +h1,h2,h3,h4,h5,h6,header,header.a, footer, footer.a { text-transform: lowercase; font-family: 'Alegreya Sans SC', sans-serif; } -header,header.a { +header,header.a, footer, footer.a { font-weight: bold; } @@ -92,6 +92,12 @@ header { border-bottom: 0.10em solid black; } +footer { + display:block; + padding: 0.5rem 0 5.5rem 0; + border-top: 0.10em solid black; +} + @media all and (max-width:520px) { div.content { padding: 0; -- cgit v1.2.3