Fixes to search, local-file-tweaks, test ajax-navigation, update Buttons, add offline.zip packaging

This commit is contained in:
2024-08-31 00:58:33 +02:00
parent 745267cf49
commit 89134ffb37
25 changed files with 199 additions and 85 deletions

View File

@@ -11,8 +11,10 @@ cp -r \
../hugo.toml ../static \
./
if [ "${sitocttEnv}" = GitHub ]
then cp ./layouts/partials/assetsRoot.GitHub.html ./layouts/partials/assetsRoot.html
if [ -n "${sitocttEnv}" ]
then
sed -i -e "s|#${sitocttEnv}:||g" ./hugo.toml
mv "./layouts/partials/assetsRoot.${sitocttEnv}.html" ./layouts/partials/assetsRoot.html || true
fi
sh "${swd}/Translate/Get.sh"