Sha256: e398e79c75bda991eecec0c43faa9ad3862dfc151d4d1897d74bd692d206ac46

Contents?: true

Size: 492 Bytes

Versions: 14

Compression:

Stored size: 492 Bytes

Contents

Year: '<%= year %>'
Month: '<%= month if page_type == "month" or page_type == "day" %>'
Day: '<%= day if page_type == "day" %>'

<% articles[0...5].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/calendar-app/source/calendar.html.erb
middleman-blog-4.0.2 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-4.0.1 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-4.0.0 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.6.0.beta.2 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.5.3 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.5.2 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.5.1 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.5.0 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.4.1 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.3.0 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.2.0 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.1.1 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.1.0 fixtures/calendar-app/source/calendar.html.erb