Sha256: 3af5ef0aadc4ac7f81ca9408eb9861b3153e60f2d22de87f524bb3d24e69590b
Contents?: true
Size: 877 Bytes
Versions: 149
Compression:
Stored size: 877 Bytes
Contents
<div class="explore"> <h2>Explore <span class="d-none d-md-inline">→</span></h2> <ul> {% assign categories_list = site.categories %} {% if categories_list.first[0] == null %} {% for category in categories_list %} <a class="cat mt-1 mb-1" href="/blog/categories#{{ category | url_escape | strip | replace: ' ', '-' }}">{{ category | camelcase }} ({{ site.tags[category].size }})</a> {% endfor %} {% else %} {% for category in categories_list %} <a class="cat mt-1 mb-1" href="/blog/categories#{{ category[0] | url_escape | strip | replace: ' ', '-' }}">{{ category[0] | camelcase }} ({{ category[1].size }})</a> {% endfor %} {% endif %} {% assign categories_list = nil %} </ul> </div> </div>
Version data entries
149 entries across 149 versions & 3 rubygems