fix: give precedence to date created over last modified if defined (#101)
parent
dff5ae0d4d
commit
e15e39155d
@ -0,0 +1,7 @@
|
||||
{{if .Date}}
|
||||
{{.Date.Format "Jan 2, 2006"}}
|
||||
{{else if .Lastmod}}
|
||||
{{.Lastmod.Format "Jan 2, 2006"}}
|
||||
{{else}}
|
||||
Unknown
|
||||
{{end}}
|
Loading…
Reference in New Issue