lib/views/post.haml in schnitzelpress-0.1.1 vs lib/views/post.haml in schnitzelpress-0.2.0

- old
+ new

@@ -3,14 +3,17 @@ = partial @post, :complete => true - if @extra_posts %section.extra_posts %h1 - %a{href: '/blog'}= @extra_posts.first + %a{:href => '/blog'}= @extra_posts.first %ul - for post in @extra_posts.second %li %a{:href => post.to_url}= h post.title - if show_disqus? && @post.disqus? %section.disqus = partial 'disqus', :disqus_identifier => @post.disqus_identifier + +- content_for :actions do + %a{:href => "/admin/edit/%s" % @post.id} #{icon 'edit'} Edit