summaryrefslogtreecommitdiff
path: root/layouts/partials/docs
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-11-16 21:49:48 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-11-16 21:49:48 +0100
commitf1d4aeb69a6cc185c84981f79402baa6ed8ba354 (patch)
tree921c8d5c311a8ae1e5fe098ef83ccfb559511dab /layouts/partials/docs
parent1e4d0001e288173fb85fe526346a475b726ad2ca (diff)
Make GitInfo not required for 'edit this page' link
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r--layouts/partials/docs/footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html
index 3a5f26e..9ee8853 100644
--- a/layouts/partials/docs/footer.html
+++ b/layouts/partials/docs/footer.html
@@ -15,7 +15,7 @@
{{ end }}
{{ end }}
- {{ if and .File .GitInfo .Site.Params.BookRepo .Site.Params.BookEditPath }}
+ {{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}
<div>
<a class="flex align-center" href="{{ .Site.Params.BookRepo }}/{{ .Site.Params.BookEditPath }}/{{ .File.Path }}" target="_blank">
<img src="{{ "svg/edit.svg" | relURL }}" alt="Edit" />