Merge pull request #204 from TheGroundZero/patch-3

Add LastMod time in article info
This commit is contained in:
Djordje Atlialp 2020-09-05 22:13:50 +02:00 committed by GitHub
commit ff5a285da7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 36 additions and 2 deletions

View file

@ -75,6 +75,7 @@
<line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
{{ if .Site.Params.dateformNumTime }}{{ dateFormat .Site.Params.dateformNumTime .Date.Local }}{{ else }}{{ dateFormat "2006-01-02 15:04 -0700" .Date.Local }}{{ end }}
{{ if .LastMod }} ({{ i18n "lastModified" }}: {{ if .Site.Params.dateformNumTime }}{{ dateFormat .Site.Params.dateformNumTime .LastMod.Local }}{{ else }}{{ dateFormat "2006-01-02 15:04 -0700" .LastMod.Local }}){{ end }}
</p>
{{- if .GitInfo }}