Sha256: 24e02ebdd02e1836b7065ba897170f149e1ebfe1d8fe13da0fc6a5e33b2ecbf3

Contents?: true

Size: 494 Bytes

Versions: 2

Compression:

Stored size: 494 Bytes

Contents

- set_page_title @post.title.presence

= partial @post, :complete => true

- if @extra_posts
  %section.extra_posts
    %h1
      %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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schnitzelpress-0.2.1 lib/views/post.haml
schnitzelpress-0.2.0 lib/views/post.haml