Sha256: fa05c11066462f50747fb0c45d2c60a3a3e51f4b934bb01bddec4f9255a05646

Contents?: true

Size: 1.11 KB

Versions: 9

Compression:

Stored size: 1.11 KB

Contents

{%- assign footerData2 = site.data.blog.footer -%}
{%- assign theme = site.data.theme.UI -%}
<div class="explore" style="background: {{theme.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;">&#x2193;</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

9 entries across 9 versions & 2 rubygems

Version Path
blogging-site-theme-0.1.7 _includes/section/count.html
blogging-site-theme-0.1.6 _includes/section/count.html
blogging-site-theme-0.1.5 _includes/section/count.html
blogging-site-theme-0.1.4 _includes/section/count.html
blogging-site-theme-0.1.3 _includes/section/count.html
blogging-site-theme-0.1.2 _includes/section/count.html
blogging-site-theme-0.1.1 _includes/section/count.html
blogging-site-theme-0.1 _includes/section/count.html
best-blogging-theme-0.2.1 _includes/section/count.html