Sha256: acefa94015b8bba2bb7b161b631e48537a5c5b8e0d695dc21fc07d66984d04f0
Contents?: true
Size: 562 Bytes
Versions: 14
Compression:
Stored size: 562 Bytes
Contents
<% if page_type == 'tag' %> Tag: '<%= tagname %>' <% else %> Year: '<%= year %>' Month: '<%= month if page_type == "month" or page_type == "day"%>' Day: '<%= day if page_type == "day" %>' <% end %> <% 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 »</a></div> </article> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems