From 6331805b90cf2214dfde541473cb6fecabfbd577 Mon Sep 17 00:00:00 2001 From: Bud Parr Date: Thu, 13 Apr 2017 23:01:23 -0400 Subject: [PATCH] clean up layouts --- layouts/_default/baseof.html | 6 +-- layouts/_default/list.html | 21 +++++----- layouts/_default/single.html | 55 +++++++-------------------- layouts/article/summary.html | 5 --- layouts/index.html | 18 ++++++--- layouts/partials/menu-contextual.html | 15 ++++++++ layouts/partials/site-navigation.html | 2 - layouts/partials/summary.html | 6 --- layouts/robots.txt | 1 - layouts/section/article.html | 4 +- 10 files changed, 55 insertions(+), 78 deletions(-) create mode 100644 layouts/partials/menu-contextual.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ec9c4b5..285e3b3 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,8 +7,8 @@ {{ block "title" . }}{{ .Site.Title }} {{ with .Title }} | {{ . }}{{ end }}{{ end }} - - + + {{ .Hugo.Generator }} {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} {{ if eq (getenv "HUGO_ENV") "production" }} @@ -17,7 +17,7 @@ {{ end }} - + {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}} {{- template "_internal/opengraph.html" . -}} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8594049..6ca0963 100755 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,17 +1,16 @@ {{ define "main" }} - -
-