Sha256: 015ff66537098f02dd45dc66d01213048b3df60569f715d3a57ac959f59af139

Contents?: true

Size: 388 Bytes

Versions: 6

Compression:

Stored size: 388 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

6 entries across 2 versions & 1 rubygems

Version Path
middleman-blog-4.0.3 fixtures/blog-sources-app/source/index.html.erb
middleman-blog-4.0.3 fixtures/blog-sources-no-date-app/source/index.html.erb
middleman-blog-4.0.3 fixtures/permalink-app/source/index.html.erb
middleman-blog-4.0.2 fixtures/blog-sources-app/source/index.html.erb
middleman-blog-4.0.2 fixtures/blog-sources-no-date-app/source/index.html.erb
middleman-blog-4.0.2 fixtures/permalink-app/source/index.html.erb