summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:48:54 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:48:54 -0600
commit81bf1f33c34bd37ebcef4dc8f76d881248a22832 (patch)
tree6ca169f6e65b2f59f55bbd8f29029e9ee6031007 /src
parentf226c2a21389054a207978ba16def90df26a0681 (diff)
fix minor bug on rss templatev0.5.2
Diffstat (limited to 'src')
-rw-r--r--src/pyssg/plt/rss.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyssg/plt/rss.xml b/src/pyssg/plt/rss.xml
index 99b2b49..0426580 100644
--- a/src/pyssg/plt/rss.xml
+++ b/src/pyssg/plt/rss.xml
@@ -29,10 +29,10 @@
<guid isPermaLink="true">{{p.url}}</guid>
<pubDate>{{p.cdate_rss}}</pubDate>
{%for t in p.tags%}
- <category>{{t[0]}}</category>
+ <category>{{t[0].lower().capitalize()}}</category>
{%endfor%}
<description>{{p.summary}}</description>
- <content:decoded><![CDATA[{{p.content}}]]></content:decoded>
+ <content:encoded><![CDATA[{{p.content}}]]></content:encoded>
</item>
{%endfor%}
</channel>