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