From 9a96f8d754cae724b4a4e449642568683185b242 Mon Sep 17 00:00:00 2001 From: Corban Mailloux Date: Thu, 21 Jan 2021 23:12:23 -0500 Subject: [PATCH] Allow page-specific cover settings to win. --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index df77d47a4a..84a322becb 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -31,7 +31,7 @@

{{- end}} - {{- $isHidden := ((.Site.Params.cover.hidden | default .Site.Params.cover.hiddenInSingle) | default .Params.cover.hidden )}} + {{- $isHidden := .Params.cover.hidden | default .Site.Params.cover.hiddenInSingle | default .Site.Params.cover.hidden}} {{- partial "cover.html" (dict "cxt" . "IsHome" false "isHidden" $isHidden) }} {{- if (.Param "ShowToc") }}