Add blog to sitemap

Signed-off-by: Arija A. <ari@ari.lt>
This commit is contained in:
2025-10-14 17:27:56 +03:00
parent 3736ddb524
commit dba101b4c0
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ on:
push:
paths:
- "pages/**"
- "blog/**"
- "sitemap.sh"
jobs:

View File

@@ -4,7 +4,7 @@ set -eu
main() {
echo "<urlset>"
find pages/ -name '*.xhtml' | while read -r file; do
find pages/ blog/ -name '*.xhtml' | while read -r file; do
echo "<url><loc>https://purplebored.pl/${file}</loc><priority>1.0</priority></url>"
done
echo "</urlset>"