From 14f9160c3d159b2b2115660d893bc8456419dbda Mon Sep 17 00:00:00 2001 From: Vezpi Date: Wed, 29 Apr 2026 22:02:00 +0000 Subject: [PATCH] add: workaround for LanguageCode --- docker/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index f835003..a2788e5 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -24,6 +24,7 @@ git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR" # Patch references not yet fixed in Stack theme 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" # Generate static files with hugo echo "- Building site with Hugo v$HUGO_VERSION in $HUGO_DEST..."