summaryrefslogtreecommitdiffstats
path: root/sync.sh
diff options
context:
space:
mode:
authorAnoduck, The Anonymous Duck <9925396+anoduck@users.noreply.github.com>2025-04-05 09:03:36 +0000
committerGitHub <noreply@github.com>2025-04-05 09:03:36 +0000
commitf157df1dbe6f51c197dab50ca501735f48aea76c (patch)
tree46f0ada6506a128b41ac0a5619e1626ccb11c8e4 /sync.sh
parent4f840706434b62b72361ef2664836bd98dcdc249 (diff)
parent404e3dddb40259c52c8de375617c07c70da971ac (diff)
Merge pull request #94 from anoduck/develop
Develop
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/sync.sh b/sync.sh
index fb231be..b7d5e73 100755
--- a/sync.sh
+++ b/sync.sh
@@ -79,11 +79,12 @@ generate_key() {
fi
}
-generate_robots() {
- if ! [[ -e "$DSRBTS" ]]; then
- echo "$rbts" > "$DSRBTS"
- fi
-}
+# Generation of robots is nowhandled by hugo
+# generate_robots() {
+# if ! [[ -e "$DSRBTS" ]]; then
+# echo "$rbts" > "$DSRBTS"
+# fi
+# }
# ------------------------------------------
if [[ ! "$PWD" == "$REPO" ]]; then
cd "$REPO" || return
@@ -91,7 +92,7 @@ fi
# compush
build
cd "$SRC" || return
-generate_key && indexnow && generate_robots
+generate_key && indexnow
#alt_files
echo "Skipping cleaning of alt files"
cd "$REPO" || return