aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-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 }}