fix: breadcrumb not turning-off when set in config
Fixed breadcrumb showing in "Section List" regardless of "false" setting in config params.
This commit is contained in:
parent
a531e836fa
commit
f7fa001617
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
<main class="main inner" data-sidebar-position="{{ $.Param "sidebarPosition" }}">
|
<main class="main inner" data-sidebar-position="{{ $.Param "sidebarPosition" }}">
|
||||||
<div class="list__main {{ if $.Param "enableSidebar" }}{{ if eq ($.Param "sidebarPosition") "left" }}mr{{ else }}lm{{ end }}{{ else }}lmr{{ end }}">
|
<div class="list__main {{ if $.Param "enableSidebar" }}{{ if eq ($.Param "sidebarPosition") "left" }}mr{{ else }}lm{{ end }}{{ else }}lmr{{ end }}">
|
||||||
|
{{ if $.Param "enableBreadcrumb" }}
|
||||||
{{ partial "body/breadcrumb" . }}
|
{{ partial "body/breadcrumb" . }}
|
||||||
|
{{ end }}
|
||||||
<header class="list__header">
|
<header class="list__header">
|
||||||
<h5 class="list__header--title capitalize h5">{{.Title}}</h5>
|
<h5 class="list__header--title capitalize h5">{{.Title}}</h5>
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in New Issue