feat: add last modified date as an option
This commit is contained in:
6
layouts/partials/main/date.html
Normal file
6
layouts/partials/main/date.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!--
|
||||
Returns formatted date.
|
||||
Usage: partial "docs/date" (dict "Date" .Date "Format" .Site.Params.BookDateFormat)
|
||||
-->
|
||||
{{ $format := default "January 2, 2006" .Format -}}
|
||||
{{ return (.Date.Format $format) -}}
|
Reference in New Issue
Block a user