From 5affd26bfb4e692ffe468f411fb83deb64dd6495 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Tue, 16 Apr 2019 08:23:25 +0200 Subject: Adjust .File usage to get rid of WARNINGs Note that this requires this fix in Hugo 0.55.2: https://github.com/gohugoio/hugo/issues/5865 --- layouts/partials/docs/git-footer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/partials/docs/git-footer.html') diff --git a/layouts/partials/docs/git-footer.html b/layouts/partials/docs/git-footer.html index 4a856d3..4b2f44d 100644 --- a/layouts/partials/docs/git-footer.html +++ b/layouts/partials/docs/git-footer.html @@ -10,9 +10,9 @@ {{ end }} {{ with .Site.Params.BookEditPath }}
- + {{ if $.File }} Edit this page - + {{ end }}
{{ end }} -- cgit v1.2.3