mirror of https://gitlab.com/octtspacc/sitoctt
18 lines
280 B
Bash
Executable File
18 lines
280 B
Bash
Executable File
#!/bin/sh
|
|
. "$(dirname "$(realpath "$0")")/Lib/Globals.sh"
|
|
cd "${swd}/.."
|
|
|
|
mkdir -p ./build
|
|
cd ./build
|
|
cp -r \
|
|
../hugo.toml ../i18n \
|
|
../archetypes ../content \
|
|
../layouts ../themes \
|
|
./
|
|
|
|
sh "${swd}/Translate/Get.sh"
|
|
sh "${swd}/Translate/Apply.sh"
|
|
hugo $@
|
|
|
|
cd "${owd}"
|