ar.falsy.cat/layouts/partials/date-fmt.html

8 lines
124 B
HTML
Raw Permalink Normal View History

{{if .Date}}
{{.Date.Format "Jan 2, 2006"}}
{{else if .Lastmod}}
{{.Lastmod.Format "Jan 2, 2006"}}
{{else}}
Unknown
{{end}}