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 %}
|
{% if tags %}
|
||||||
<span>in
|
<span>in
|
||||||
{% for tag in tags %}
|
{% 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 %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -9,7 +9,7 @@ pagination:
|
||||||
filter:
|
filter:
|
||||||
- posts
|
- posts
|
||||||
addAllPagesToCollections: true
|
addAllPagesToCollections: true
|
||||||
permalink: /posts/tagged/{{ tag }}/index.html
|
permalink: /posts/tagged/{{ tag | slugify }}/index.html
|
||||||
---
|
---
|
||||||
{% extends 'layouts/default.njk' %}
|
{% extends 'layouts/default.njk' %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
Loading…
Reference in a new issue