Skip to content

Instantly share code, notes, and snippets.

@billturner
Created September 28, 2009 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billturner/195479 to your computer and use it in GitHub Desktop.
Save billturner/195479 to your computer and use it in GitHub Desktop.
%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