code cleanup and add documentation for config params

This commit is contained in:
Robert Kaussow 2020-01-14 00:15:39 +01:00
parent f2f51adff0
commit aac46df166
12 changed files with 196 additions and 43 deletions

View file

@ -17,7 +17,7 @@
{{end}}
<div class="gdoc-page__header flex justify-between" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{{$showBreadcrumb := (and (not .Params.disableBreadcrumb) (not .Site.Params.disableBreadcrumb))}}
{{$showBreadcrumb := (and (not .Page.Params.geekdocBreadcrumb) (not .Site.Params.geekdocBreadcrumb))}}
<span>
{{if $showBreadcrumb}}
<span class="breadcrumb">