aboutsummaryrefslogtreecommitdiff
path: root/source/_includes/post.haml
blob: 362c532296e5f07ce8569e1be8a557f8b845c19f (plain)
1
2
3
4
5
6
7
8
.article
  %h2= page.title
  .meta
    - author = (page.respond_to?(:author) && page.author) ? 'by: ' + page.author + ' |' : ''
    #{author} posted: #{page.date.strftime("%B #{page.date.day.ordinalize}, %Y")}
    = (page.respond_to?(:updated) && page.updated) ? " | upated: #{page.updated}" : ''
  = preserve rp(content)
  #disqus_thread= include "disqus_thread.haml" if page.respond_to?(:disqus_short_name) && page.disqus_short_name