mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Lars Kruse
01.45.2021 b0bf3ccca1a431feb7b788b2ec1210aa903bed97
refs
author Lars Kruse <devel@sumpfralle.de>
Friday, October 1, 2021 19:45 +0200
committer GitHub <noreply@github.com>
Friday, October 1, 2021 19:45 +0200
commitb0bf3ccca1a431feb7b788b2ec1210aa903bed97
tree b86ac2f3a0b08aea11a8ad868bddb79514f4bda5 tree | zip | gz
parent 775277039eab2161823621329902622b1cc17a23 view | diff
Allow override of date format (#291)

Previously the default date format (`January 2, 2006` ) was used for
blog and single page date visualizations.

The new parameter `date_format` can be used to override this format.
This allows the visualization of localized dates or a changed precision
(down to the minute or up to the month or year of publication).

Co-authored-by: Regis Philibert <login@regisphilibert.com>
3 files modified
16 ■■■■ changed files
README.md 12 ●●●●● diff | view | raw | blame | history
layouts/_default/single.html 2 ●●● diff | view | raw | blame | history
layouts/post/summary.html 2 ●●● diff | view | raw | blame | history