Skip to content

Commit cd20986

Browse files
committed
Update python-sitemap.py
1 parent 4a41666 commit cd20986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-sitemap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def generate_sitemap():
2626

2727
# Generate sitemap
2828
xml = '<?xml version="1.0" encoding="UTF-8"?>\n<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n'
29-
xml += ''.join(f' <url>\n <loc>{url}</loc>\n </url>\n' for url in urls)
29+
xml += ''.join(f' <url>\n <loc>{url}</loc>\n <priority>0.5</priority>\n </url>\n' for url in urls)
3030
xml += '</urlset>'
3131

3232
# Write to file

0 commit comments

Comments
 (0)