Merge pull request #204 from TheGroundZero/patch-3
Add LastMod time in article info
This commit is contained in:
commit
ff5a285da7
12 changed files with 36 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue