Sha256: ce50ea1ee30777a6af6731bcb306b4304429f45b0cf2c98ae979b5132b9918c0

Contents?: true

Size: 372 Bytes

Versions: 50

Compression:

Stored size: 372 Bytes

Contents

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

50 entries across 40 versions & 2 rubygems

Version Path
middleman-blog-4.0.3 fixtures/preview-app/source/index.html.erb
middleman-blog-4.0.3 fixtures/custom-article-template-app/source/index.html.erb
middleman-blog-4.0.2 fixtures/custom-article-template-app/source/index.html.erb
middleman-blog-4.0.2 fixtures/preview-app/source/index.html.erb
middleman-blog-4.0.1 fixtures/preview-app/source/index.html.erb
middleman-blog-4.0.1 fixtures/custom-article-template-app/source/index.html.erb
middleman-blog-4.0.0 fixtures/preview-app/source/index.html.erb
middleman-blog-4.0.0 fixtures/custom-article-template-app/source/index.html.erb
middleman-blog-3.6.0.beta.2 fixtures/custom-article-template-app/source/index.html.erb
middleman-blog-3.6.0.beta.2 fixtures/preview-app/source/index.html.erb
middleman-blog-3.5.3 fixtures/preview-app/source/index.html.erb
middleman-blog-3.5.3 fixtures/custom-article-template-app/source/index.html.erb
middleman-blog-3.5.2 fixtures/preview-app/source/index.html.erb
middleman-blog-3.5.2 fixtures/custom-article-template-app/source/index.html.erb
middleman-blog-3.5.1 fixtures/custom-article-template-app/source/index.html.erb
middleman-blog-3.5.1 fixtures/preview-app/source/index.html.erb
middleman-blog-3.5.0 fixtures/custom-article-template-app/source/index.html.erb
middleman-blog-3.5.0 fixtures/preview-app/source/index.html.erb
middleman-blog-3.4.1 fixtures/preview-app/source/index.html.erb
middleman-blog-3.3.0 fixtures/preview-app/source/index.html.erb