mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-04-01 13:29:51 +00:00
add edit-this-page partial
This commit is contained in:
parent
2802bad985
commit
e3204d84b3
9
layouts/partials/docs/git-footer.html
Normal file
9
layouts/partials/docs/git-footer.html
Normal file
@ -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 }}
|
Loading…
Reference in New Issue
Block a user