From 35c314107fd97ba4270da81065008cdfc36cb847 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 14 Apr 2024 10:41:48 +0200 Subject: Correct code style --- layouts/partials/site-last-mod.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'layouts') 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 -}} -- cgit v1.2.3