Sha256: 802b31733bae6e77196f11c17350ee71b2fcf0645e3b1140a0095a3a7daa71d9
Contents?: true
Size: 1.07 KB
Versions: 5
Compression:
Stored size: 1.07 KB
Contents
{%- assign footerData2 = site.data.blog.footer -%} <div class="explore" style="background: {{footerData2.color}}"> <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
5 entries across 5 versions & 1 rubygems