summaryrefslogtreecommitdiff
path: root/layouts/partials/docs
diff options
context:
space:
mode:
authorJordi Bares <jordibares@hotmail.com>2019-03-28 20:25:28 +0000
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-03-29 16:16:04 +0100
commita7e906feed641b0ecb52e82066ea57e2af72c386 (patch)
treefc58f40aee5f272298aae7b2f5f5e21cbb33278c /layouts/partials/docs
parent062f14b9a19f65d6ab72800f5d436b05ce07853d (diff)
Change name DateForm to DateFormat, complete git-footer.html upgrade
Diffstat (limited to 'layouts/partials/docs')
-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 f9dccdf..a8a126b 100644
--- a/layouts/partials/docs/git-footer.html
+++ b/layouts/partials/docs/git-footer.html
@@ -2,8 +2,8 @@
<div class="align-center book-git-footer {{ if not .GitInfo }}justify-end{{ else }}justify-between{{ end }}">
{{ with .GitInfo }}
<div>
- <a href="{{ $.Site.Params.BookRepo }}/commit/{{ .Hash }}" title='Last modified {{ .AuthorDate.Local.Format "2 January 2 2006 15:04 MST" }} by {{ .AuthorName }}' target="_blank" rel="noopener">
- <img src="{{ "svg/code-merge.svg" | relURL }}" /> {{ .AuthorDate.Local.Format "Last Modified 2 January 2006 15:04 MST" }}
+ <a href="{{ $.Site.Params.BookRepo }}/commit/{{ .Hash }}" title='Last modified {{ .AuthorDate.Local.Format $.Site.Params.DateFormat }} by {{ .AuthorName }}' target="_blank" rel="noopener">
+ <img src="{{ "svg/code-merge.svg" | relURL }}" /> {{ .AuthorDate.Local.Format $.Site.Params.DateFormat }}
</a>
</div>
{{ end }}