Sha256: a227becd73e40587b7046778bc4769b8bc3e58532d8f53831840b678d08563ba

Contents?: true

Size: 428 Bytes

Versions: 6

Compression:

Stored size: 428 Bytes

Contents

Year: '<%= @year %>'
Month: '<%= @month %>'
Day: '<%= @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

6 entries across 6 versions & 1 rubygems

Version Path
middleman-blog-3.0.0 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.0.0.rc.4 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.0.0.rc.3 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.0.0.rc.2 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.0.0.rc.1 fixtures/calendar-app/source/calendar.html.erb
middleman-blog-3.0.0.beta.3 fixtures/calendar-app/source/calendar.html.erb