Update sitemap.sh

This commit is contained in:
purplebored
2025-10-14 16:52:32 +00:00
parent 80ba17d7b0
commit 4168c13cc4

View File

@@ -3,6 +3,7 @@
set -eu
main() {
echo '<?xml version="1.0" encoding="UTF-8"?>'
echo '<urlset>'
echo '<url><loc>https://purplebored.pl/</loc><priority>1.0</priority></url>'
find pages/ blog/ -name '*.xhtml' -not -name 'template.xhtml' | while read -r file; do
@@ -12,3 +13,4 @@ main() {
}
main >sitemap.xml