mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-21 13:15:49 +00:00
fix link post titles in RSS feed
This commit is contained in:
parent
b9730bdf0e
commit
36b3ae5b9d
3 changed files with 1 additions and 3 deletions
2
blog.rb
2
blog.rb
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -8,4 +8,3 @@
|
|||
<p><a href="{{url}}">∞</a></p>
|
||||
{{/post}}
|
||||
</article>
|
||||
<p class="sep">༄</p>
|
||||
|
|
|
|||
|
|
@ -7,4 +7,3 @@
|
|||
{{{html}}}
|
||||
{{/post}}
|
||||
</article>
|
||||
<p class="sep">༄</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue