diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ee8fd70..ecd2dff 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,23 +1,21 @@ - - + + {{ block "title" . }} - - {{ if .IsHome }} - {{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }} {{ end }} - {{ else }} - {{ .Title }} :: {{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }} - {{ end }} - + + {{ if .IsHome }} + {{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }} {{ end }} + {{ else }} + {{ .Title }} :: {{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }} + {{ end }} + {{ end }} @@ -29,9 +27,9 @@ {{ range $val := $.Site.Params.customCSS }} -{{ if gt (len $val) 0 }} - -{{ end }} + {{ if gt (len $val) 0 }} + + {{ end }} {{ end }} @@ -41,9 +39,12 @@ {{- template "_internal/twitter_cards.html" . }} {{ range .Params.categories }} -{{ end }} + +{{ end }} + {{ if isset .Params "date" }} -{{ end }} + +{{ end }} {{ with .OutputFormats.Get "rss" -}} @@ -58,5 +59,5 @@ {{- if templates.Exists "partials/extra-head.html" -}} -{{ partial "extra-head.html" . }} + {{ partial "extra-head.html" . }} {{- end }}