From 90b43957b531b676163c2b90fbd212bbb0ac4fb0 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 5 Aug 2020 17:39:15 +0100 Subject: [PATCH] HIde content details for pages other than content pages --- layouts/partials/content.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/content.html b/layouts/partials/content.html index b515d37..5dedb00 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -14,7 +14,7 @@ {{ if .Params.subtitle }}
{{ markdownify .Params.subtitle | emojify }}
{{ end }} -{{ if ne .Kind "section" }} +{{ if .IsPage }}

{{ partial "content-details.html" . }}

{{ end }} {{ if .Content }}