summaryrefslogtreecommitdiffstats
path: root/sync.sh
diff options
context:
space:
mode:
authoranoduck <9925396+anoduck@users.noreply.github.com>2025-04-05 04:25:02 -0400
committeranoduck <9925396+anoduck@users.noreply.github.com>2025-04-05 04:25:02 -0400
commitb76076e2e305d41adfd9e584a11636c58a32c99a (patch)
treef0c6df12790eab554362f7c020653de8d1fe6433 /sync.sh
parent640338b79641fa3a1957a38f9e449b05444f579c (diff)
fix(Search-indexing): fixed search indexing and working on fixing missing leaflet elements
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