diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e23184e..d66023f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,239 +1,251 @@ {{ define "body" }} -
-{{ end }} + + + {{ end }} -{{ define "main" }} + {{ define "main" }} {{ $scratch := newScratch }} {{ if .Site.Params.writers }} - {{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }} + {{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }} {{ else }} - {{ $scratch.Set "writer" (.Site.Params.social | default dict) }} + {{ $scratch.Set "writer" (.Site.Params.social | default dict) }} {{ end }} {{ $writer := $scratch.Get "writer" }}