diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f154fd963..d5bf6e28b 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 @@
{{.Title}}
{{ partial "script/sidebar-script" . }} {{ partial "script/list-script" . }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index 583e7ebf2..84d241f17 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -2,7 +2,9 @@
- {{ partial "body/breadcrumb" . }} + {{ if $.Param "enableBreadcrumb" }} + {{ partial "body/breadcrumb" . }} + {{ end }}
{{ .Title }}
@@ -29,4 +31,4 @@
{{ .Title }}
{{ partial "script/sidebar-script" . }} {{ partial "script/taxo-script" . }} -{{ end }} \ No newline at end of file +{{ end }}