We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a41666 commit cd20986Copy full SHA for cd20986
python-sitemap.py
@@ -26,7 +26,7 @@ def generate_sitemap():
26
27
# Generate sitemap
28
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)
+ xml += ''.join(f' <url>\n <loc>{url}</loc>\n <priority>0.5</priority>\n </url>\n' for url in urls)
30
xml += '</urlset>'
31
32
# Write to file
0 commit comments