From ec54ddd1c32c2f53bf3402321480ae2656467b38 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Wed, 29 Apr 2026 22:20:45 +0000 Subject: [PATCH] fix: Locale --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index d1d4e25..9c59448 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -25,7 +25,7 @@ git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR" sed -i 's/\.Site\.Data/hugo.Data/g' "$CLONE_DIR/themes/stack/layouts/_partials/article/components/photoswipe.html" sed -i 's/LanguageDirection/Direction/g' "$CLONE_DIR/themes/stack/layouts/baseof.html" sed -i 's/\.LanguageCode/.Language.Locale/g' "$CLONE_DIR/themes/stack/layouts/baseof.html" -sed -i 's/site\.LanguageCode/hugo.Language.Locale/g' "$CLONE_DIR/themes/stack/layouts/rss.xml" +sed -i 's/\.LanguageCode/.Locale/g' "$CLONE_DIR/themes/stack/layouts/rss.xml" # Generate static files with hugo echo "- Building site with Hugo v$HUGO_VERSION in $HUGO_DEST..."