diff options
author | Nick Shine <shine.nick@gmail.com> | 2018-12-03 01:17:01 -0600 |
---|---|---|
committer | Alexander Shpak <alex-shpak@users.noreply.github.com> | 2018-12-07 15:03:15 +0100 |
commit | e3204d84b3c60d7c38e84b467ea19bdb4a7bcc63 (patch) | |
tree | 6f750ac67b71a3188410b5b159a225092d811a16 | |
parent | 2802bad9857ed073d19ff02e33422fc91748f768 (diff) |
add edit-this-page partial
-rw-r--r-- | layouts/partials/docs/git-footer.html | 9 |
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 }} |