summaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-04-14 10:41:48 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2024-04-14 11:22:13 +0200
commit35c314107fd97ba4270da81065008cdfc36cb847 (patch)
treef80f0247be08b2908013caa06f8e1695923bbf96 /layouts/partials
parent225e8b4ff4187c60e154836b2269c4b6da82021a (diff)
downloadgohugo-theme-ed-35c314107fd97ba4270da81065008cdfc36cb847.tar.gz
Correct code style
Diffstat (limited to 'layouts/partials')
-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 -}}