From d1f43e4e4d085be5bfb96cde3342eaa97770aa9f Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 21 Feb 2024 09:18:04 +0000 Subject: [PATCH] Verhelpen deprecation-meldingen in Hugo 0.123 --- themes/nluug/layouts/custom/content-review.html | 4 ++-- themes/nluug/layouts/custom/latest-changes.html | 2 +- themes/nluug/layouts/custom/sitemap.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/nluug/layouts/custom/content-review.html b/themes/nluug/layouts/custom/content-review.html index 191c68f..e5983c4 100644 --- a/themes/nluug/layouts/custom/content-review.html +++ b/themes/nluug/layouts/custom/content-review.html @@ -45,7 +45,7 @@ Onbekend {{ end }} - {{ with .File }}{{ .Lang }}{{ end }} + {{ .Page.Language.Lang }} {{ with .File }}{{ .Path }}{{ end }} {{ end }} @@ -72,7 +72,7 @@ {{ .Title | default .Site.Params.textNoTitle }} - {{ with .File }}{{ .Lang }}{{ end }} + {{ .Page.Language.Lang }} {{ with .File }}{{ .Path }}{{ end }} {{ end }} diff --git a/themes/nluug/layouts/custom/latest-changes.html b/themes/nluug/layouts/custom/latest-changes.html index 2e11c7c..71c74ba 100644 --- a/themes/nluug/layouts/custom/latest-changes.html +++ b/themes/nluug/layouts/custom/latest-changes.html @@ -22,7 +22,7 @@ {{ .Title | default .Site.Params.textNoTitle }} {{ if hugo.IsServer }} - {{ with .File }}{{ .Lang }}{{ end }} + {{ .Page.Language.Lang }} {{ with .File }}{{ .Path }}{{ end }} {{ end }} diff --git a/themes/nluug/layouts/custom/sitemap.html b/themes/nluug/layouts/custom/sitemap.html index 4915dc5..3b1e934 100644 --- a/themes/nluug/layouts/custom/sitemap.html +++ b/themes/nluug/layouts/custom/sitemap.html @@ -30,7 +30,7 @@