mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-25 22:30:40 +00:00
fix some defaults and formatting
This commit is contained in:
parent
f2e64a6864
commit
c93dafdece
@ -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") }}
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user