diff options
-rw-r--r-- | layouts/_default/single.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 61194ed..23341f4 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,6 +8,10 @@ <h3 class="f3 baskerville mv3 pa1">{{ . }}</h3> {{ end }} + {{ if in (slice "post" "talk") .Section }} + {{ partial "metadata.html" . }} + {{ end }} + {{ $image := "" }} {{ if resources.Get (index .Params.images 0) }} {{ $image = resources.Get (index .Params.images 0) }} @@ -30,10 +34,6 @@ </div> </div> {{ end }} - - {{ if in (slice "post" "talk") .Section }} - {{ partial "metadata.html" . }} - {{ end }} </header> <div class="main-content mw7 center lh-copy f5 f4-ns ph1"> {{ .Content }} |