Move date.format config to date_format
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{{ $authors := partial "paige/authors.html" $page }}
|
||||
{{ $categories := $page.GetTerms "categories" }}
|
||||
{{ $date := $page.PublishDate }}
|
||||
{{ $dateformat := $page.Param "paige.date.format" | default ":date_long" }}
|
||||
{{ $dateformat := $page.Param "paige.date_format" | default ":date_long" }}
|
||||
{{ $description := $page.Description | markdownify }}
|
||||
{{ $link := $page.Params.link }}
|
||||
{{ $readingtime := $page.ReadingTime }}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{{ $authors := partial "paige/authors.html" $page }}
|
||||
{{ $categories := $page.GetTerms "categories" }}
|
||||
{{ $date := $page.PublishDate }}
|
||||
{{ $dateformat := $page.Param "paige.date.format" | default ":date_long" }}
|
||||
{{ $dateformat := $page.Param "paige.date_format" | default ":date_long" }}
|
||||
{{ $description := $page.Description | markdownify | plainify | htmlUnescape }}
|
||||
{{ $draft := $page.Draft }}
|
||||
{{ $expired := and $page.ExpiryDate (lt $page.ExpiryDate now) }}
|
||||
|
Reference in New Issue
Block a user