You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
212 B
HTML
7 lines
212 B
HTML
2 years ago
|
<!--
|
||
|
Returns formatted date.
|
||
|
Usage: partial "docs/date" (dict "Date" .Date "Format" .Site.Params.BookDateFormat)
|
||
|
-->
|
||
|
{{- $format := default "January 2, 2006" .Format -}}
|
||
|
{{- return (.Date.Format $format) -}}
|