idk, was reverted some how

This commit is contained in:
⧉ infominer 2023-01-23 05:29:44 -05:00
parent 9f3b5a0ea4
commit 9df1d4ed55

View File

@ -15,11 +15,15 @@ layout: archive
{% for i in (1..categories_max) reversed %} {% for i in (1..categories_max) reversed %}
{% for category in site.categories %} {% for category in site.categories %}
{% if category[1].size == i %} {% if category[1].size == i %}
<li> {% if category[0] == "Twitter" %}
<a href="#{{ category[0] | slugify }}"> <!--// we do nothing-->
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span> {% else if %}
</a> <li>
</li> <a href="#{{ category[0] | slugify }}">
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
{% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
@ -28,15 +32,22 @@ layout: archive
{% for i in (1..categories_max) reversed %} {% for i in (1..categories_max) reversed %}
{% for category in site.categories %} {% for category in site.categories %}
{% if category[1].size == i %} {% if category[1].size == i %}
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section"> {% if category[0] == "Twitter" %}
<h2 class="archive__subtitle">{{ category[0] }}</h2> <!--// we do nothing-->
<div class="entries-{{ page.entries_layout | default: 'list' }}"> {% else if %}
{% for post in category.last %} <section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
<h3 class="archive__subtitle">{{ category[0] }}</h3>
{% assign sorted_posts = category[1] | sort: 'last_modified_at' | reverse %}
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% for post in sorted_posts %}
{% include archive-single.html type=page.entries_layout %} {% include archive-single.html type=page.entries_layout %}
{% endfor %} {% endfor %}
</div> </div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a> <a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section> </section>
{% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
{% include social-share.html %}