This commit is contained in:
2024-08-25 17:18:20 +02:00
parent dda72042fd
commit 00130ace72
171 changed files with 3464 additions and 240 deletions

View File

@ -1,18 +1,18 @@
#!/bin/sh
. "$(dirname "$(realpath "$0")")/.Globals.sh"
. "$(dirname "$(realpath "$0")")/Lib/Globals.sh"
cd "${swd}/.."
mkdir -p ./build
cd ./build
cp -r \
../i18n \
../archetypes ../content \
../layouts ../themes \
../config.toml ../hugo.toml \
./
sh "${swd}/Translate.Get.sh"
$([ -n "$(which python3)" ] && echo python3 || echo python) "${swd}/Translate.Main.py"
sh "${swd}/Translate.Apply.sh"
hugo
sh "${swd}/Translate.Push.sh"
sh "${swd}/Translate/Get.sh"
sh "${swd}/Translate/Apply.sh"
hugo $@
cd "${owd}"