added support for "updated" metadata in a blog post

This commit is contained in:
B Mathis 2010-03-10 12:26:47 -06:00
parent dab3895299
commit 33bca7246e

View File

@ -11,6 +11,7 @@ disqus:
.meta .meta
- author = (page.respond_to?(:author) && page.author) ? 'by: ' + page.author + ' |' : '' - 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) = preserve rp(post.content)
- if page.respond_to?(:disqus) && page.disqus - if page.respond_to?(:disqus) && page.disqus
- if post.data["comments_off"] - if post.data["comments_off"]