Sha256: ea1b99e4fc66c2e09c5e209bf6fb9259123e7534d72c0f945449c3a7d9a9aaa7

Contents?: true

Size: 819 Bytes

Versions: 11

Compression:

Stored size: 819 Bytes

Contents

---
blog: blog_name_3
pageable: false
---
Index: blog3

Paginate3: <%= paginate %>
Article Count3: <%= page_articles.size %>
<% if paginate %>
Page Num3: <%= page_number %>
Num Pages3: <%= num_pages %>
Per Page3: <%= per_page %>
Page Start3: <%= page_start %>
Page End3: <%= page_end %>
Next Page3: '<%= next_page.url if next_page %>'
Prev Page3: '<%= prev_page.url if prev_page %>'
<% end %>

<%# Page articles doesn't scope correctly if pageable isn't specified.%>
<% page_articles.each_with_index do |article, i| %>
  <article class="<%= (i == 0) ? 'first' : '' %>">
    <h1><a href="<%= article.url %>"><%= article.title %></a> <span><%= article.date.strftime('%b %e %Y') %></span></h1>

    <%= article.summary %>

    <div class="more"><a href="<%= article.url %>">read on &raquo;</a></div>
  </article>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
middleman-blog-4.0.3 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-4.0.2 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-4.0.1 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-4.0.0 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-3.6.0.beta.2 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-3.5.3 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-3.5.2 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-3.5.1 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-3.5.0 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-3.4.1 fixtures/paginate-multiblog-app/source/blog3/index.html.erb
middleman-blog-3.3.0 fixtures/paginate-multiblog-app/source/blog3/index.html.erb