add edit-this-page partial
This commit is contained in:
parent
2802bad985
commit
e3204d84b3
1 changed files with 9 additions and 0 deletions
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 a new issue