tent.io/layouts/_post.slim
2012-08-22 14:07:40 -04:00

5 lines
260 B
Text

article
- time = Time.parse(@post[:created_at])
date title=time.strftime('%F %R %Z') datetime=time.strftime('%FT%T%:z') pubdate=true = time.strftime('%B %-d, %Y')
h1 == link_to @post[:title], @post.identifier.chop
== @content || @post.compiled_content