diff --git a/CHANGELOG.md b/CHANGELOG.md index a6ca592..0130b81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,3 @@ - BUGFIX - fix default settings for some config parameters + - fix page-header conditions diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index 957674a..22dfd6a 100644 --- a/layouts/partials/page-header.html +++ b/layouts/partials/page-header.html @@ -16,8 +16,9 @@ {{ end }} {{ end }} -
- {{ $showBreadcrumb := (and (default true .Page.Params.geekdocBreadcrumb) (default true .Site.Params.geekdocBreadcrumb)) }} +{{ $showBreadcrumb := (and (default true .Page.Params.geekdocBreadcrumb) (default true .Site.Params.geekdocBreadcrumb)) }} +{{ $showEdit := (and ($.Scratch.Get "geekdocFilePath") $geekdocRepo $geekdocEditPath) }} +