mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-23 16:08:53 -05:00
added support for "updated" metadata in a blog post
This commit is contained in:
parent
dab3895299
commit
33bca7246e
@ -10,7 +10,8 @@ disqus:
|
||||
%h2= link_to(post.title, post.url, {:class=>"title"})
|
||||
.meta
|
||||
- author = (page.respond_to?(:author) && page.author) ? 'by: ' + page.author + ' |' : ''
|
||||
#{author} posted: #{post.date.strftime("%B #{post.date.day.ordinalize}, %Y")}
|
||||
#{author} posted: #{post.date.strftime("%B #{post.date.day.ordinalize}, %Y")}
|
||||
= (page.respond_to?(:updated) && page.updated) ? " | upated: #{page.updated}" : ''
|
||||
= preserve rp(post.content)
|
||||
- if page.respond_to?(:disqus) && page.disqus
|
||||
- if post.data["comments_off"]
|
||||
|
Loading…
Reference in New Issue
Block a user