summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Shine <shine.nick@gmail.com>2018-12-03 01:17:01 -0600
committerAlexander Shpak <alex-shpak@users.noreply.github.com>2018-12-07 15:03:15 +0100
commite3204d84b3c60d7c38e84b467ea19bdb4a7bcc63 (patch)
tree6f750ac67b71a3188410b5b159a225092d811a16
parent2802bad9857ed073d19ff02e33422fc91748f768 (diff)
add edit-this-page partial
-rw-r--r--layouts/partials/docs/git-footer.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/docs/git-footer.html b/layouts/partials/docs/git-footer.html
new file mode 100644
index 0000000..d7e34b8
--- /dev/null
+++ b/layouts/partials/docs/git-footer.html
@@ -0,0 +1,9 @@
+{{ with .Site.Params.BookEditURL }}
+<div class="align-center book-git-footer justify-end">
+ <div>
+ <a href="{{ . }}{{ $.File.Path }}" target="_blank" rel="noopener">
+ <img src="{{ "svg/code-fork.svg" | absURL }}" /> Edit this page
+ </a>
+ </div>
+</div>
+{{ end }}