fix some defaults and formatting

This commit is contained in:
Robert Kaussow 2020-02-05 09:40:05 +01:00
parent f2e64a6864
commit c93dafdece
2 changed files with 8 additions and 8 deletions

View File

@ -44,7 +44,7 @@
<div class="gdoc-page__footer flex flex-wrap justify-between"> <div class="gdoc-page__footer flex flex-wrap justify-between">
{{ $showPrevNext := (and (not .Site.Params.GeekdocNextPrev) .Site.Params.GeekdocMenuBundle) }} {{ $showPrevNext := (and (default true .Site.Params.GeekdocNextPrev) .Site.Params.GeekdocMenuBundle) }}
{{ if $showPrevNext }} {{ if $showPrevNext }}
<span> <span>
{{ with ($current.Scratch.Get "prevPage") }} {{ with ($current.Scratch.Get "prevPage") }}

View File

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