From ab14e66b343e2f73a36093b72530b20ac862c052 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 8 Feb 2024 09:35:59 +0000 Subject: [PATCH] .Site.IsServer zal deprecated zijn in toekomst, alvast vervangen --- themes/nluug/layouts/custom/latest-changes.html | 4 ++-- themes/nluug/layouts/custom/sitemap.html | 4 ++-- themes/nluug/layouts/partials/footer.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/nluug/layouts/custom/latest-changes.html b/themes/nluug/layouts/custom/latest-changes.html index 7f87b13..2e11c7c 100644 --- a/themes/nluug/layouts/custom/latest-changes.html +++ b/themes/nluug/layouts/custom/latest-changes.html @@ -10,7 +10,7 @@ Datum Titel - {{ if .Site.IsServer }} + {{ if hugo.IsServer }} Taal Bestandsnaam {{ end }} @@ -21,7 +21,7 @@ {{ .Title | default .Site.Params.textNoTitle }} - {{ if .Site.IsServer }} + {{ if hugo.IsServer }} {{ with .File }}{{ .Lang }}{{ end }} {{ with .File }}{{ .Path }}{{ end }} {{ end }} diff --git a/themes/nluug/layouts/custom/sitemap.html b/themes/nluug/layouts/custom/sitemap.html index 2338983..4915dc5 100644 --- a/themes/nluug/layouts/custom/sitemap.html +++ b/themes/nluug/layouts/custom/sitemap.html @@ -18,7 +18,7 @@ Datum Titel - {{ if .Site.IsServer }} + {{ if hugo.IsServer }} Taal Bestandsnaam {{ end }} @@ -29,7 +29,7 @@