authelia/docs/layouts/partials/main/date.html
James Elliott b2c60ef898
feat: major documentation refresh (#3475)
This marks the launch of the new documentation website.
2022-06-15 17:51:47 +10:00

6 lines
209 B
HTML

<!--
Returns formatted date.
Usage: partial "docs/date" (dict "Date" .Date "Format" .Site.Params.BookDateFormat)
-->
{{ $format := default "January 2, 2006" .Format -}}
{{ return (.Date.Format $format) -}}