fix: enable git info for Lastmod
Some checks failed
Deploy workflow / deploy (push) Failing after 14s
Some checks failed
Deploy workflow / deploy (push) Failing after 14s
This commit is contained in:
parent
6336c6dc69
commit
0e4648cfc9
2 changed files with 4 additions and 2 deletions
|
@ -5,6 +5,8 @@ assetDir = "assets"
|
||||||
summaryLength = 50
|
summaryLength = 50
|
||||||
title = "Vélo et Mobilités en Eure-Madrie-Seine"
|
title = "Vélo et Mobilités en Eure-Madrie-Seine"
|
||||||
|
|
||||||
|
enableGitInfo = true
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
dateFmt = "2006-01-02 15:04"
|
dateFmt = "2006-01-02 15:04"
|
||||||
[params.contact]
|
[params.contact]
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
<meta property="article:modified_time" content="{{- .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
<meta property="article:modified_time" content="{{- .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ if not .Site.LastChange.IsZero }}
|
{{ if not .Site.Lastmod.IsZero }}
|
||||||
<meta property="og:updated_time" content="{{- .Site.LastChange.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
<meta property="og:updated_time" content="{{- .Site.Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue