From 6af48b1cfe57b9660311088045f850cdc5c658b8 Mon Sep 17 00:00:00 2001 From: DerLev Date: Tue, 23 Apr 2024 23:44:36 +0200 Subject: [PATCH] using different conditional statement for matching page section --- homepage/layouts/_default/_markup/render-heading.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homepage/layouts/_default/_markup/render-heading.html b/homepage/layouts/_default/_markup/render-heading.html index faa6424..abbf008 100644 --- a/homepage/layouts/_default/_markup/render-heading.html +++ b/homepage/layouts/_default/_markup/render-heading.html @@ -1,5 +1,5 @@ - {{- if .Page.InSection "blog" }} + {{- if eq .Page.Section "blog" }} {{- end }} {{- .Text | safeHTML -}}