Added setting to disable breadcrumbs

This commit is contained in:
Aroy-Art 2021-11-15 09:07:47 +01:00
parent 33084ba1cb
commit d3d6805899

View file

@ -1,3 +1,4 @@
{{ if site.Params.breadcrumbs }}
{{"<!-- Bradcrumb Section -->" | safeHTML}}
{{ $siteUrl := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ $.Scratch.Add "sitePath" .Site.BaseURL }}
@ -24,3 +25,4 @@
</div>
</nav>
{{"<!-- /Bradcrumb Section -->" | safeHTML}}
{{ end }}