Sha256: 52d0cd75fb394d7d7366dc4ce3cf9518a228d6712d1da559de44438544d56db1

Contents?: true

Size: 886 Bytes

Versions: 5

Compression:

Stored size: 886 Bytes

Contents

%section.blog_posts
  - for post in list
    %article.blog_post.grid_15.alpha.omega
      .post.grid_11.alpha
        %header
          %h1
            %a{:href => "#{blog_url}/#{post.created_at.year}/#{post.created_at.month}/#{post.slug}"}= post.title
        .blog_post_body= markdown(post.summary.blank? ? post.body : post.summary)
      %footer.grid_2.suffix_1.prefix_1.omega
        .date
          %time{:datetime=>post.published_at, :pubdate => true}= post.published_at.strftime("%B %e, %Y")
  %nav.blog_nav.grid_15.alpha.omega
    - if page > 1
      %a.newer.grid_5.alpha{:href => "#{blog_url}/page/#{page-1}"} « Newer Posts 
    - else
      %a.newer.grid_5.alpha  
    %p.count.grid_5 Page #{page} of #{pages}
    - if page < pages
      %a.older.grid_5.omega{:href => "#{blog_url}/page/#{page+1}"} Older Posts &raquo;
    - else
      %a.older.grid_5.omega &nbsp;

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
orange-sparkles-0.7.1 lib/orange-sparkles/views/blog/blog_offset_list_view.haml
orange-sparkles-0.7.0 lib/orange-sparkles/views/blog/blog_offset_list_view.haml
orange-sparkles-0.5.9 lib/orange-sparkles/views/blog/blog_offset_list_view.haml
orange-sparkles-0.5.8 lib/orange-sparkles/views/blog/blog_offset_list_view.haml
orange-sparkles-0.5.7 lib/orange-sparkles/views/blog/blog_offset_list_view.haml