adding .Site.Params.disableBreadcrumb

NB: Still shows heading of page. Otherwise looks a bit ugly
This commit is contained in:
will wade 2018-03-14 00:28:37 +00:00 committed by GitHub
parent 59c4cbf186
commit 2fd986166e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,11 @@
<span id="toc-menu"><i class="fa fa-list-alt"></i></span> <span id="toc-menu"><i class="fa fa-list-alt"></i></span>
{{ end }} {{ end }}
<span class="links"> <span class="links">
{{if ne .Site.Params.disableBreadcrumb true}}
{{ template "breadcrumb" dict "page" . "value" .Title }} {{ template "breadcrumb" dict "page" . "value" .Title }}
{{ else }}
{{ .Title }}
{{ end }}
</span> </span>
</div> </div>
{{ if $toc }} {{ if $toc }}