Remove paige.date.source config
This commit is contained in:
@@ -240,7 +240,6 @@ github_repo = ""
|
||||
|
||||
[paige.date]
|
||||
format = ":date_long" # Hugo date format
|
||||
source = "published" # Displayed date in single pages; must be "published" or "modified"
|
||||
|
||||
[paige.git]
|
||||
commit_url = "" # Example is "https://github.com/willfaught/paige/commit/%s"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{{ $authors := partial "paige/authors.html" $page }}
|
||||
{{ $categories := $page.Params.categories | default slice | uniq }}
|
||||
{{ $commiturl := "" }}
|
||||
{{ $date := cond (eq ($page.Param "paige.date.source" | default "published") "published") $page.PublishDate $page.Lastmod }}
|
||||
{{ $date := $page.PublishDate }}
|
||||
{{ $dateformat := $page.Param "paige.date.format" | default ":date_long" }}
|
||||
{{ $description := $page.Description | markdownify }}
|
||||
{{ $link := $page.Params.link }}
|
||||
|
Reference in New Issue
Block a user