summaryrefslogtreecommitdiff
path: root/pyssg.xyz/plt/sitemap.xml
blob: d9ff21bd9dde3c272c848e7f3327e0d0be34251a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>