aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/categories
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-23 15:37:10 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-23 15:37:10 +0300
commit84ed836276872fa63088004ef0399826623a11a9 (patch)
tree4bdb40cce2ac7713ab7845b3449cc60f89a15cd4 /_includes/categories
parenthide the sidebar separator on wide screens (diff)
downloadjekyll-theme-84ed836276872fa63088004ef0399826623a11a9.tar.gz
jekyll-theme-84ed836276872fa63088004ef0399826623a11a9.zip
categories/all.html: <h1> -> <h2> headers
Diffstat (limited to '')
-rw-r--r--_includes/categories/all.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/categories/all.html b/_includes/categories/all.html
index 32b8ad7..71b4bb6 100644
--- a/_includes/categories/all.html
+++ b/_includes/categories/all.html
@@ -2,7 +2,7 @@
<p>Sorry, no posts have been added yet.</p>
{% else %}
{% for category in site.categories %}
- <h1><a class="category" href="{{ '/' | relative_url }}{{ category[0] | slugify: 'pretty' }}/">{{ category[0] }}</a></h1>
+ <h2><a class="category" href="{{ '/' | relative_url }}{{ category[0] | slugify: 'pretty' }}/">{{ category[0] }}</a></h2>
<ul>
{% for post in category[1] %}
<li><a href="{{ post.url | relative_url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>
@@ -11,7 +11,7 @@
{% endfor %}
{% assign uncategorized = site.posts | where_exp: "post","post.categories.size == 0" %}
{% if uncategorized.size != 0 %}
- <h1>Other</h1>
+ <h2>Other</h2>
<ul>
{% for post in uncategorized %}
<li><a href="{{ post.url | relative_url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>