Sha256: b26019ef135d81e65288b6103e754ddbf9b0a1c68072053ca6a96d88f5d7c0d9

Contents?: true

Size: 376 Bytes

Versions: 11

Compression:

Stored size: 376 Bytes

Contents

<% blog.articles[0...5].each_with_index do |article, i| %>
  <article class="<%= (i == 0) ? 'first' : '' %>">
    <span><%= article.date.strftime('%b %e %Y') %></span>
    
    <h1><a href="<%= article.url %>"><%= article.title %></a></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/default-template-app/source/index.html.erb
middleman-blog-4.0.2 fixtures/default-template-app/source/index.html.erb
middleman-blog-4.0.1 fixtures/default-template-app/source/index.html.erb
middleman-blog-4.0.0 fixtures/default-template-app/source/index.html.erb
middleman-blog-3.6.0.beta.2 fixtures/default-template-app/source/index.html.erb
middleman-blog-3.5.3 fixtures/default-template-app/source/index.html.erb
middleman-blog-3.5.2 fixtures/default-template-app/source/index.html.erb
middleman-blog-3.5.1 fixtures/default-template-app/source/index.html.erb
middleman-blog-3.5.0 fixtures/default-template-app/source/index.html.erb
middleman-blog-3.4.1 fixtures/default-template-app/source/index.html.erb
middleman-blog-3.3.0 fixtures/default-template-app/source/index.html.erb