aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYour Name2025-05-29 21:07:31 +0000
committerYour Name2025-05-29 21:07:31 +0000
commitbdd871eacd9630d9ed80f53efb43b33259ee3f36 (patch)
tree47811fe4192aae53ef4ac55cbfa3314f29a2c853
parent4b9a594240d18ad2fb9feb88df76cdef904ddd88 (diff)
downloademil-sitemap-generator-bdd871eacd9630d9ed80f53efb43b33259ee3f36.tar.xz
emil-sitemap-generator-bdd871eacd9630d9ed80f53efb43b33259ee3f36.tar.zst
light fixes
-rwxr-xr-xsitemap.sh2
-rw-r--r--sitemap.sh.options11
2 files changed, 12 insertions, 1 deletions
diff --git a/sitemap.sh b/sitemap.sh
index 2f1d874..ab73965 100755
--- a/sitemap.sh
+++ b/sitemap.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# url configuration
-URL="https://mcmilk.de/"
+URL="https://$(hostname)/"
# values: always hourly daily weekly monthly yearly never
FREQ="weekly"
diff --git a/sitemap.sh.options b/sitemap.sh.options
index 88e9176..91faccb 100644
--- a/sitemap.sh.options
+++ b/sitemap.sh.options
@@ -2,9 +2,20 @@
! -iname robots.txt
! -iname sitemap.\*
! -iname .\*
+! -iname \*.css
+! -iname \*.avif
+! -iname \*.jxl
+! -iname \*.jpg
+! -iname \*.jpeg
+! -iname \*.png
+! -iname \*.webm
+! -iname \*.gif
+! -iname \*.svg
+! -iname \*.txz
! -path ./css/\*
! -path ./js/\*
! -path ./img/\*
! -path ./tmp/\*
! -path ./fonts/\*
! -path ./stats/\*
+! -path ./up/\*