hugo-graceful-simplicity/layouts/partials/date.html

9 lines
196 B
HTML

<i>
{{ if ne .Lastmod .Date}}Originally created {{end}}
{{ .Date.Format "January 2, 2006" }}
</i>
{{ if ne .Lastmod .Date}}
<br><i>Updated {{ .Lastmod.Format "January 2, 2006" }}</i>
{{end}}