Remove redundant downcase from _layouts/categories.html (#4531)

This commit is contained in:
eabneka 2024-04-23 00:06:53 +09:00 committed by GitHub
parent 9770b663f9
commit 6eaee034d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ 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"> <section id="{{ category[0] | slugify }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ category[0] }}</h2> <h2 class="archive__subtitle">{{ category[0] }}</h2>
<div class="entries-{{ entries_layout }}"> <div class="entries-{{ entries_layout }}">
{% for post in category.last %} {% for post in category.last %}