mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-06-05 22:09:20 +02:00
Init con Hugo, conversione ListedDownsync.js, fix metadati post
This commit is contained in:
18
Scripts/Build.sh
Executable file
18
Scripts/Build.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$(realpath "$0")")/.Globals.sh"
|
||||
cd "${swd}/.."
|
||||
|
||||
mkdir -p ./build
|
||||
cd ./build
|
||||
cp -r \
|
||||
../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"
|
||||
|
||||
cd "${owd}"
|
Reference in New Issue
Block a user