mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-19 03:10:24 +00:00
adding .Site.Params.disableBreadcrumb
NB: Still shows heading of page. Otherwise looks a bit ugly
This commit is contained in:
parent
59c4cbf186
commit
2fd986166e
1 changed files with 8 additions and 4 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue