summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/site-last-mod.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/partials/site-last-mod.html b/layouts/partials/site-last-mod.html
index ecd3900..1b422b2 100644
--- a/layouts/partials/site-last-mod.html
+++ b/layouts/partials/site-last-mod.html
@@ -9,13 +9,13 @@
{{- $siteLastMod := "" -}}
{{- if ge site.Hugo.Version "0.123.0" -}}
- {{- if not site.Lastmod.IsZero -}}
- {{- $siteLastMod = site.Lastmod -}}
- {{- end -}}
+ {{- if not site.Lastmod.IsZero -}}
+ {{- $siteLastMod = site.Lastmod -}}
+ {{- end -}}
{{- else -}}
- {{- if not site.LastChange.IsZero -}}
- {{- $siteLastMod = site.LastChange -}}
- {{- end -}}
+ {{- if not site.LastChange.IsZero -}}
+ {{- $siteLastMod = site.LastChange -}}
+ {{- end -}}
{{- end -}}
{{- return $siteLastMod -}}