fix link post titles in RSS feed

This commit is contained in:
Sami Samhuri 2011-11-27 20:47:04 -08:00
parent b9730bdf0e
commit 36b3ae5b9d
3 changed files with 1 additions and 3 deletions

View file

@ -170,7 +170,7 @@ class Blag
xml.instruct! 'xml-stylesheet', :href => 'http://samhuri.net/assets/blog-all.min.css', :type => 'text/css'
xml.rss :version => '2.0' do
xml.channel do
xml.title title
xml.title post[:link] ? "→ #{title}" : title
xml.description subtitle
xml.link url
xml.pubDate posts.first[:rfc822]

View file

@ -8,4 +8,3 @@
<p><a href="{{url}}">&infin;</a></p>
{{/post}}
</article>
<p class="sep">&#x0f04;</p>

View file

@ -7,4 +7,3 @@
{{{html}}}
{{/post}}
</article>
<p class="sep">&#x0f04;</p>