From 121cb8936348cf5d889a53477757b5d4b8029e31 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 7 Sep 2020 21:09:21 +0200 Subject: [PATCH] display page metadata only if content type 'posts' --- layouts/_default/single.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b009861..e8ab622 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -16,6 +16,7 @@ {{ end }}

{{ partial "title" . }}

+ {{ if eq .Type "posts" }}
@@ -34,6 +35,7 @@
+ {{ end }}