Use the page's .PublishDate as the date for the PUBLISHED tag
This commit is contained in:
parent
ba9d309e1e
commit
75f7771c38
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
{{- $dateName := .date -}}
|
||||
|
||||
{{- $name := "" -}}
|
||||
{{- $date := $page.Date -}}
|
||||
{{- $date := $page.PublishDate -}}
|
||||
|
||||
{{- if or (not $dateName) (eq $dateName "date") }}
|
||||
{{- $name = T "datePublishedName" -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue