diff --git a/hugo.toml b/hugo.toml index 352d9f4..8946064 100644 --- a/hugo.toml +++ b/hugo.toml @@ -5,6 +5,8 @@ assetDir = "assets" summaryLength = 50 title = "Vélo et Mobilités en Eure-Madrie-Seine" +enableGitInfo = true + [params] dateFmt = "2006-01-02 15:04" [params.contact] diff --git a/layouts/partials/opengraph/include.html b/layouts/partials/opengraph/include.html index ad5cd18..ba4bc86 100644 --- a/layouts/partials/opengraph/include.html +++ b/layouts/partials/opengraph/include.html @@ -32,8 +32,8 @@ {{- end -}} {{- else -}} - {{ if not .Site.LastChange.IsZero }} - + {{ if not .Site.Lastmod.IsZero }} + {{- end -}} {{- end -}}