From 81bf1f33c34bd37ebcef4dc8f76d881248a22832 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <david@luevano.xyz> Date: Fri, 4 Jun 2021 23:48:54 -0600 Subject: fix minor bug on rss template --- ChangeLog | 5 +++++ src/pyssg/plt/rss.xml | 4 ++-- 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> -- cgit v1.2.3-70-g09d2