aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-15 05:07:22 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-15 06:16:55 +0200
commit3a3ea44d52d93fb8b6c7c96c81cea2957b69a07a (patch)
tree6a1e00d35391248492815d46175ea55e5454a173 /layouts
parent3b3dee43f08916fa3f13b1b3895fbaf906c3298b (diff)
downloadhugo-minimalist-theme-3a3ea44d52d93fb8b6c7c96c81cea2957b69a07a.tar.gz
hugo-minimalist-theme-3a3ea44d52d93fb8b6c7c96c81cea2957b69a07a.tar.bz2
hugo-minimalist-theme-3a3ea44d52d93fb8b6c7c96c81cea2957b69a07a.zip
post metadata on top
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html8
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 }}