diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-05 05:03:45 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-05 05:03:45 -0600 |
commit | 0b8441c79b047f81526bbb83febc40d7530e35d6 (patch) | |
tree | 71f4f3b51685fc81cda226476302c9084146ab39 /pyssg.xyz/plt/sitemap.xml | |
parent | e69392a52f102d169c7d80994d169ba0743747a1 (diff) |
add extra configuration for more control, add pyssg.xyz example
this is the first step towards creating a way to handle multiple subdomains/configs in a single run for a more cohesive site generation
Diffstat (limited to 'pyssg.xyz/plt/sitemap.xml')
-rw-r--r-- | pyssg.xyz/plt/sitemap.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pyssg.xyz/plt/sitemap.xml b/pyssg.xyz/plt/sitemap.xml new file mode 100644 index 0000000..d9ff21b --- /dev/null +++ b/pyssg.xyz/plt/sitemap.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> + {%for p in all_pages%} + <url> + <loc>{{p.url}}</loc> + <lastmod>{{p.mdate_sitemap if p.mdate_sitemap else p.cdate_sitemap}}</lastmod> + <changefreq>weekly</changefreq> + <priority>1.0</priority> + </url> + {%endfor%} + + {%for t in all_tags%} + <url> + <loc>{{t[1]}}</loc> + <lastmod>{{config['info']['sitemap_run_date']}}</lastmod> + <changefreq>daily</changefreq> + <priority>0.5</priority> + </url> + {%endfor%} +</urlset> |