website/layouts/partials/date.html

6 lines
125 B
HTML
Raw Permalink Normal View History

{{ if site.Params.dateFormat }}
{{ .Format site.Params.dateFormat }}
{{ else }}
{{ .Format "2006-01-02" }}
{{ end }}