fix tags with spaces

add a filter that replaces tags e.g.
"tag name" → {name: "tag name", slug: "tag_name"}
This commit is contained in:
rhiannon morris 2022-09-17 20:54:16 +02:00
parent 5108acba61
commit be46a2fc5c
9 changed files with 87 additions and 54 deletions

View file

@ -13,7 +13,7 @@ $head()$
tags:
<ul>
$for(tags)$
<li><a href=/tag-$it$.html>$it$</a>
<li><a href=/tag-$it.slug$.html>$it.name$</a>
$endfor$
</ul>
</nav>