From f7fa00161769239b5eb4d836077cb66bb7d6aa44 Mon Sep 17 00:00:00 2001 From: "I'M YourOnly.One" <1079205+techmagus@users.noreply.github.com> Date: Sun, 26 Sep 2021 11:04:51 +0800 Subject: [PATCH] fix: breadcrumb not turning-off when set in config Fixed breadcrumb showing in "Section List" regardless of "false" setting in config params. --- layouts/_default/list.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f154fd9..d5bf6e2 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,7 +2,9 @@
- {{ partial "body/breadcrumb" . }} + {{ if $.Param "enableBreadcrumb" }} + {{ partial "body/breadcrumb" . }} + {{ end }}
{{.Title}}
@@ -30,4 +32,4 @@ {{ partial "script/sidebar-script" . }} {{ partial "script/list-script" . }} -{{ end }} \ No newline at end of file +{{ end }}