rizaldy.club/layouts/partials/date-fmt.html

8 lines
124 B
HTML
Raw Normal View History

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