Sha256: b932234432d5715ad63d769277c68c144375f5a297937a90e6148c38cc910ca6

Contents?: true

Size: 572 Bytes

Versions: 6

Compression:

Stored size: 572 Bytes

Contents

%h1= @page_title

.pagination-wrap
  = page_entries_info @posts
  %br/
  = will_paginate @posts, :previous_label => "Previous", :next_label => "Next"


- @posts.each do |post|
  .post
    %h2= link_to post.title, post_path(post)
    %strong= post.created_at.strftime('%B %d, %Y')
    %br/
    = raw post.excerpt
    %br/
    = link_to("Read More", post_path(post))


- unless @posts.blank? || @posts.total_pages < 2
  .pagination-info= will_paginate @posts, :previous_label => "Previous", :next_label => "Next"

= render "posts/categories"
= render "posts/archive_months"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/posts/index.html.haml
forge-cli-0.1.9 lib/forge/app/views/posts/index.html.haml
forge-cli-0.1.8 lib/forge/app/views/posts/index.html.haml
forge-cli-0.1.7 lib/forge/app/views/posts/index.html.haml
forge-cli-0.1.6 lib/forge/app/views/posts/index.html.haml
forge-cli-0.1.5 lib/forge/app/views/posts/index.html.haml