all repos — h3rald @ 2905fa880540f1196c748436b66a9d57ccf83bb0

The sources of https://h3rald.com

content/archives.erb

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
----- 
permalink: archives
filters_pre: 
- erb
title: Archives
type: page
-----
<div class="container article-aggregation">
<% c = 0
articles_by_month.each do |m|
  c = c+1 %>
  <%= %{<div class="row">} if c%4 == 1 %>
    <div class="col-md-3"><%= month_link_with_count(m[0], m[1].length) %></div>
    <%= "</div>" if c%4 == 0 %>
<% end %></div>
</div>