mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00: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
|
@ -62,11 +62,15 @@
|
|||
<i class="fa fa-bars"></i>
|
||||
</a>
|
||||
</span>
|
||||
{{ if $toc }}
|
||||
<span id="toc-menu"><i class="fa fa-list-alt"></i></span>
|
||||
{{ end }}
|
||||
{{ if $toc }}
|
||||
<span id="toc-menu"><i class="fa fa-list-alt"></i></span>
|
||||
{{ end }}
|
||||
<span class="links">
|
||||
{{ template "breadcrumb" dict "page" . "value" .Title }}
|
||||
{{if ne .Site.Params.disableBreadcrumb true}}
|
||||
{{ template "breadcrumb" dict "page" . "value" .Title }}
|
||||
{{ else }}
|
||||
{{ .Title }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</div>
|
||||
{{ if $toc }}
|
||||
|
|
Loading…
Reference in a new issue