Created
September 28, 2009 14:31
-
-
Save billturner/195479 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%div.post | |
%h3 | |
%a{ :href => permalink_url(post), :rel => 'bookmark', :title => "Permanent link for this post" }= post.title | |
%div.postbody | |
=find_and_preserve do | |
=markdown(post.body) | |
%div.meta | |
-if post.tags.count > 0 | |
-post.tags.each do |tag| | |
%a{ :href => tag_url(tag), :rel => 'category tag', :title => "View other posts tagged with '#{tag.name}'" }= "##{tag.name}" | |
— | |
=post.published_at.strftime('%Y-%m-%d %I:%M%p') | |
- if ALLOW_COMMENTS | |
=haml :disqus_embed, :layout => false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment