summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuyzmo <guyzmo+github@m0g.net>2012-08-24 13:20:22 +0200
committerGuyzmo <guyzmo+github@m0g.net>2012-08-24 13:20:22 +0200
commit4f8085c8f5f8f3a3e9a29221b51ada6e20163e91 (patch)
tree63743de4f536de28c9c1df275fd7a2a0dc715f67
parent02924743bfe881019b297c552da60a13deef8229 (diff)
[ENH] added summary in feeds
-rw-r--r--_templates/atom.mako2
-rw-r--r--_templates/rss.mako2
2 files changed, 2 insertions, 2 deletions
diff --git a/_templates/atom.mako b/_templates/atom.mako
index 288061d..5457369 100644
--- a/_templates/atom.mako
+++ b/_templates/atom.mako
@@ -27,7 +27,7 @@
% for category in post.categories:
<category scheme="${bf.config.blog.url}" term="${category}" />
% endfor
- <summary type="html"><![CDATA[${post.title}]]></summary>
+ <summary type="html"><![CDATA[${post.summary}]]></summary>
<content type="html" xml:base="${post.permalink}"><![CDATA[${post.content}]]></content>
</entry>
% endfor
diff --git a/_templates/rss.mako b/_templates/rss.mako
index 869d784..9a4b2cf 100644
--- a/_templates/rss.mako
+++ b/_templates/rss.mako
@@ -27,7 +27,7 @@
% else:
<guid isPermaLink="true">${post.permalink}</guid>
% endif
- <description>${post.title}</description>
+ <description>${post.summary}</description>
<content:encoded><![CDATA[${post.content}]]></content:encoded>
</item>
% endfor