summaryrefslogtreecommitdiff
path: root/layouts/partials/docs/git-footer.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-02-20 10:37:48 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-02-20 10:37:48 +0100
commiteb67ab58aa0e083729a4b4906b2522842ccf4954 (patch)
tree7f4a5447807387962b0bdbd5a598ae20c22c7c92 /layouts/partials/docs/git-footer.html
parent0cfb8a08a41e72670b271ab22a1ca10808efe597 (diff)
Refactor theme to use relative urls everywhere
Diffstat (limited to 'layouts/partials/docs/git-footer.html')
-rw-r--r--layouts/partials/docs/git-footer.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/docs/git-footer.html b/layouts/partials/docs/git-footer.html
index b9bcd39..1fc589d 100644
--- a/layouts/partials/docs/git-footer.html
+++ b/layouts/partials/docs/git-footer.html
@@ -3,14 +3,14 @@
{{ with .GitInfo }}
<div>
<a href="{{ $.Site.Params.BookRepo }}/commit/{{ .Hash }}" title='Last modified {{ .AuthorDate.Local.Format "January 2, 2006 15:04 MST" }} by {{ .AuthorName }}' target="_blank" rel="noopener">
- <img src="{{ "svg/code-merge.svg" | absURL }}" /> {{ .AuthorDate.Local.Format "Last Modified Jan 2, 2006" }}
+ <img src="{{ "svg/code-merge.svg" | relURL }}" /> {{ .AuthorDate.Local.Format "Last Modified Jan 2, 2006" }}
</a>
</div>
{{ end }}
{{ with .Site.Params.BookEditPath }}
<div>
<a href="{{ $.Site.Params.BookRepo }}/{{ . }}/{{ $.File.Path }}" target="_blank" rel="noopener">
- <img src="{{ "svg/code-fork.svg" | absURL }}" /> Edit this page
+ <img src="{{ "svg/code-fork.svg" | relURL }}" /> Edit this page
</a>
</div>
{{ end }}