From 6900edff265cfa413900f73f32b5d814b13e60cd Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Sat, 9 May 2026 12:59:49 +0100 Subject: [PATCH] revert: update deprecated properties This reverts commit 152763d9edd453e39f39b6cfc5d4a26b2caa7511. --- hugo.toml | 2 +- layouts/_default/home.rss.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index 08a132c..6b4c4e0 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,5 +1,5 @@ baseURL = 'https://hazemkrimi.tech' -locale = 'en' +languageCode = 'en' title = 'Hazem Krimi' [pagination] pagerSize = 5 diff --git a/layouts/_default/home.rss.xml b/layouts/_default/home.rss.xml index 402850e..06e1cd3 100644 --- a/layouts/_default/home.rss.xml +++ b/layouts/_default/home.rss.xml @@ -44,7 +44,7 @@ {{ .Permalink }} Hazem Krimi's projects and blog Hugo -- gohugo.io - {{ site.Language.Locale }}{{ with $authorEmail }} + {{ site.Language.LanguageCode }}{{ with $authorEmail }} {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} {{ . }}{{ end }}{{ if not .Date.IsZero }}