Sha256: 80484d71c7e84091fd76ecd8cac6c58843874069c31a5602aa2c947bf5e0b3c4
Contents?: true
Size: 1002 Bytes
Versions: 4
Compression:
Stored size: 1002 Bytes
Contents
<div class="explore"> <h2 class="animate__animated animate__bounce animate__infinite">Explore</h2> <span class="d-none d-md-inline animate__animated animate__backInDown animate__infinite" style="font-size: 25px;">↓</span> <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="/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="/categories#{{ category[0] | url_escape | strip | replace: ' ', '-' }}">{{ category[0] | camelcase }} ({{ category[1].size }})</a> {% endfor %} {% endif %} {% assign categories_list = nil %} </ul> </div>
Version data entries
4 entries across 4 versions & 1 rubygems