summaryrefslogtreecommitdiff
path: root/src/pyssg/plt/sitemap.xml
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-04 11:10:40 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-04 11:10:40 -0600
commit5794ce299e0283ed98e102ee1faaeaf86206f588 (patch)
tree6c2ffac2181f1564cd5e837aecff08681c2a8b62 /src/pyssg/plt/sitemap.xml
parent655e3c6fb7b13659e15b30e96b6c943d48170a71 (diff)
change syntax for accessing config variable
Diffstat (limited to 'src/pyssg/plt/sitemap.xml')
-rw-r--r--src/pyssg/plt/sitemap.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyssg/plt/sitemap.xml b/src/pyssg/plt/sitemap.xml
index af1212a..d9ff21b 100644
--- a/src/pyssg/plt/sitemap.xml
+++ b/src/pyssg/plt/sitemap.xml
@@ -14,7 +14,7 @@
{%for t in all_tags%}
<url>
<loc>{{t[1]}}</loc>
- <lastmod>{{config.get('info', 'sitemap_run_date')}}</lastmod>
+ <lastmod>{{config['info']['sitemap_run_date']}}</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url>