Sha256: d759c8d56951d52e5348e8ff7cf928c5804f6bed1a7dbd485f0797d4de764e2d

Contents?: true

Size: 802 Bytes

Versions: 14

Compression:

Stored size: 802 Bytes

Contents

---
pageable: true
---
Year: '<%= year %>'
Month: '<%= month if defined?(month) %>'
Day: '<%= day if defined?(day) %>'

Paginate: <%= paginate %>
Article Count: <%= page_articles.size %>
<% if paginate %>
Page Num: <%= page_number %>
Num Pages: <%= num_pages %>
Per Page: <%= per_page %>
Page Start: <%= page_start %>
Page End: <%= page_end %>
Next Page: '<%= next_page.url if next_page %>'
Prev Page: '<%= 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

14 entries across 14 versions & 1 rubygems

Version Path
middleman-blog-4.0.3 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-4.0.2 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-4.0.1 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-4.0.0 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.6.0.beta.2 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.5.3 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.5.2 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.5.1 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.5.0 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.4.1 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.3.0 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.2.0 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.1.1 fixtures/paginate-app/source/calendar.html.erb
middleman-blog-3.1.0 fixtures/paginate-app/source/calendar.html.erb