diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-11-16 21:49:48 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-11-16 21:49:48 +0100 |
commit | f1d4aeb69a6cc185c84981f79402baa6ed8ba354 (patch) | |
tree | 921c8d5c311a8ae1e5fe098ef83ccfb559511dab | |
parent | 1e4d0001e288173fb85fe526346a475b726ad2ca (diff) |
Make GitInfo not required for 'edit this page' link
-rw-r--r-- | layouts/partials/docs/footer.html | 2 |
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" /> |