Harmonize class names

This commit is contained in:
Michael Rose
2018-03-20 15:38:24 -04:00
parent 19a943eec1
commit a76c16ee23
4 changed files with 15 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ layout: archive
{{ content }}
<ul class="taxonomy-index">
<ul class="taxonomy__index">
{% assign categories_max = 0 %}
{% for category in site.categories %}
{% if category[1].size > categories_max %}
@@ -16,7 +16,7 @@ layout: archive
{% if category[1].size == i %}
<li>
<a href="#{{ category[0] | slugify }}">
<strong>{{ category[0] }}</strong> <span class="taxonomy-count">{{ i }}</span>
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
{% endif %}
@@ -34,7 +34,7 @@ layout: archive
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy-section">
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ category[0] }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% for post in category.last %}