Sha256: faf05db3b17b7c64e4a6f6b4c4715a8395a050f5c915fb298307631158a9f29b

Contents?: true

Size: 571 Bytes

Versions: 18

Compression:

Stored size: 571 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

18 entries across 18 versions & 1 rubygems

Version Path
forge-cli-0.1.4 lib/forge/app/views/posts/index.html.haml
forge-cli-0.1.3 lib/forge/app/views/posts/index.html.haml
forge-cli-0.1.2 lib/forge/app/views/posts/index.html.haml
forge-cli-0.1.1 lib/forge/app/views/posts/index.html.haml
forge-cli-0.1.0 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.18 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.17 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.16 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.15 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.14 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.13 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.12 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.11 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.10 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.9 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.8 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.7 lib/forge/app/views/posts/index.html.haml
forge-cli-0.0.6 lib/forge/app/views/posts/index.html.haml