aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_includes/categories.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/categories.html b/_includes/categories.html
index 23affcf..10a9433 100644
--- a/_includes/categories.html
+++ b/_includes/categories.html
@@ -19,8 +19,8 @@
{% assign unique_categories = categories | sort | uniq %}
{% for category in unique_categories %}
{% assign feed_link = "feed." | append:include.kind | append:"-by-category." | append:page.lang | append:"." | append:category | append:".atom" | replace:" ", "-" %}
- <h2 id="{{ category }}">
- <a href="#{{ category }}">{{ category }}</a>
+ <h2 id="{{ category | replace:" ", "-" }}">
+ <a href="#{{ category | replace:" ", "-" }}">{{ category }}</a>
<a href="{% link {{ feed_link }} %}">
<img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
</a>