forked from nyancrimew/maia.crimew.gay
slugify tag links
This commit is contained in:
parent
6613788e74
commit
d1d0ef7b41
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ subhead: blog
|
|||
{% if tags %}
|
||||
<span>in
|
||||
{% for tag in tags %}
|
||||
<span class="tag"><a href="/posts/tagged/{{ tag }}/">{{ tag }}</a></span>{% if not loop.last %}, {% endif %}
|
||||
<span class="tag"><a href="/posts/tagged/{{ tag | slugify }}/">{{ tag }}</a></span>{% if not loop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
|
|
@ -9,7 +9,7 @@ pagination:
|
|||
filter:
|
||||
- posts
|
||||
addAllPagesToCollections: true
|
||||
permalink: /posts/tagged/{{ tag }}/index.html
|
||||
permalink: /posts/tagged/{{ tag | slugify }}/index.html
|
||||
---
|
||||
{% extends 'layouts/default.njk' %}
|
||||
{% block main %}
|
||||
|
|
Loading…
Reference in a new issue