fix: remove use of deprecated .Site.LastChange property
Some checks failed
/ test (push) Failing after 12s
Some checks failed
/ test (push) Failing after 12s
This commit is contained in:
parent
ac424f868a
commit
b9a43b78b1
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@
|
|||
<meta property='article:modified_time' content='{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}'/>
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- if not .Site.LastChange.IsZero -}}
|
||||
<meta property='og:updated_time' content='{{ .Site.LastChange.Format " 2006-01-02T15:04:05-07:00 " | safeHTML }}'/>
|
||||
{{- if not .Site.Lastmod.IsZero -}}
|
||||
<meta property='og:updated_time' content='{{ .Site.Lastmod.Format " 2006-01-02T15:04:05-07:00 " | safeHTML }}'/>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue