Sha256: 44c89e05ef13e741ca4650da024b39827fd007e7ae5f082cb36816b3131d33aa

Contents?: true

Size: 814 Bytes

Versions: 11

Compression:

Stored size: 814 Bytes

Contents

---
pageable: true
---
Year2: '<%= year %>'
Month2: '<%= month if defined?(month) %>'
Day2: '<%= day if defined?(day) %>'

Paginate2: <%= paginate %>
Article Count2: <%= page_articles.size %>
<% if paginate %>
Page Num2: <%= page_number %>
Num Pages2: <%= num_pages %>
Per Page2: <%= per_page %>
Page Start2: <%= page_start %>
Page End2: <%= page_end %>
Next Page2: '<%= next_page.url if next_page %>'
Prev Page2: '<%= prev_page.url if prev_page %>'
<% end %>

<% 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/calendar2.html.erb
middleman-blog-4.0.2 fixtures/paginate-multiblog-app/source/calendar2.html.erb
middleman-blog-4.0.1 fixtures/paginate-multiblog-app/source/calendar2.html.erb
middleman-blog-4.0.0 fixtures/paginate-multiblog-app/source/calendar2.html.erb
middleman-blog-3.6.0.beta.2 fixtures/paginate-multiblog-app/source/calendar2.html.erb
middleman-blog-3.5.3 fixtures/paginate-multiblog-app/source/calendar2.html.erb
middleman-blog-3.5.2 fixtures/paginate-multiblog-app/source/calendar2.html.erb
middleman-blog-3.5.1 fixtures/paginate-multiblog-app/source/calendar2.html.erb
middleman-blog-3.5.0 fixtures/paginate-multiblog-app/source/calendar2.html.erb
middleman-blog-3.4.1 fixtures/paginate-multiblog-app/source/calendar2.html.erb
middleman-blog-3.3.0 fixtures/paginate-multiblog-app/source/calendar2.html.erb