all repos — h3rald @ 2905fa880540f1196c748436b66a9d57ccf83bb0

The sources of https://h3rald.com

content/tags.erb

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
----- 
permalink: tags
filters_pre: 
- erb
title: Tags
type: page
-----
<%
  tags = sorted_site_tags
%>
<div class="container article-aggregation">
<% c = 0
tags.each do |t|
  c = c+1 %>
  <%= %{<div class="row">} if c%4 == 1 %>
    <div class="col-md-3"><%= tag_link_with_count(t[0], t[1]) %></div>
    <%= "</div>" if c%4 == 0 %>
<% end %></div>
</div>