Use .PublishDate for the page header date
This commit is contained in:
parent
3842e25fa0
commit
ce19ae0bbb
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
{{- end }}
|
||||
|
||||
{{ if not .page.IsNode }}
|
||||
{{- with .page.Date -}}
|
||||
{{- with .page.PublishDate -}}
|
||||
<time class="page-date" datetime="{{ . | time.Format "2006-01-02" }}">
|
||||
{{- . | time.Format "January 02, 2006" -}}
|
||||
</time>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue