Sha256: 5ed6dfc7fdb24731ba74c92e1ca390f730deb5795ef72ee9df05aa3db7dba2f1

Contents?: true

Size: 368 Bytes

Versions: 78

Compression:

Stored size: 368 Bytes

Contents

<% blog.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

78 entries across 20 versions & 1 rubygems

Version Path
middleman-blog-4.0.3 fixtures/indexes-app/source/index.html.erb
middleman-blog-4.0.3 fixtures/published-app/source/index.html.erb
middleman-blog-4.0.3 fixtures/future-date-app/source/index.html.erb
middleman-blog-4.0.2 fixtures/published-app/source/index.html.erb
middleman-blog-4.0.2 fixtures/future-date-app/source/index.html.erb
middleman-blog-4.0.2 fixtures/indexes-app/source/index.html.erb
middleman-blog-4.0.1 fixtures/indexes-app/source/index.html.erb
middleman-blog-4.0.1 fixtures/no-date-app/source/index.html.erb
middleman-blog-4.0.1 fixtures/future-date-app/source/index.html.erb
middleman-blog-4.0.1 fixtures/published-app/source/index.html.erb
middleman-blog-4.0.1 fixtures/blog-sources-app/source/index.html.erb
middleman-blog-4.0.0 fixtures/indexes-app/source/index.html.erb
middleman-blog-4.0.0 fixtures/no-date-app/source/index.html.erb
middleman-blog-4.0.0 fixtures/blog-sources-app/source/index.html.erb
middleman-blog-4.0.0 fixtures/future-date-app/source/index.html.erb
middleman-blog-4.0.0 fixtures/published-app/source/index.html.erb
middleman-blog-3.6.0.beta.2 fixtures/future-date-app/source/index.html.erb
middleman-blog-3.6.0.beta.2 fixtures/blog-sources-app/source/index.html.erb
middleman-blog-3.6.0.beta.2 fixtures/indexes-app/source/index.html.erb
middleman-blog-3.6.0.beta.2 fixtures/no-date-app/source/index.html.erb