summaryrefslogtreecommitdiff
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
parentf226c2a21389054a207978ba16def90df26a0681 (diff)
fix minor bug on rss templatev0.5.2
-rw-r--r--ChangeLog5
-rw-r--r--src/pyssg/plt/rss.xml4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e6fa6aa..0f22491 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
CHANGES
=======
+v0.5.1
+------
+
+* minor fix on dirs discovery
+
v0.5.0
------
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>