From 88cbc90fca33260e0c6d825733f3572dda5d3c8a Mon Sep 17 00:00:00 2001 From: Vezpi Date: Wed, 29 Apr 2026 21:56:55 +0000 Subject: [PATCH] add: workaround for LanguageDirection --- docker/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 2f4128d..f835003 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -21,8 +21,9 @@ rm -rf "$CLONE_DIR" echo "- Cloning $REPO_URL (branch: $BRANCH)..." git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR" -# Patch .Site.Data references not yet fixed in Stack theme +# 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" # Generate static files with hugo echo "- Building site with Hugo v$HUGO_VERSION in $HUGO_DEST..."