diff --git a/sitemap.sh b/sitemap.sh index 8de3d85..1ac9a95 100755 --- a/sitemap.sh +++ b/sitemap.sh @@ -3,12 +3,12 @@ set -eu main() { - echo "" - echo "https://purplebored.pl/1.0" - find pages/ blog/ -name '*.xhtml' | while read -r file; do + echo '' + echo 'https://purplebored.pl/1.0' + find pages/ blog/ -name '*.xhtml' -not -name 'template.xhtml' | while read -r file; do echo "https://purplebored.pl/${file}1.0" done - echo "" + echo '' } main >sitemap.xml