Remove trailing slashes from URLs
This commit is contained in:
parent
6d4667887d
commit
79f2473388
3 changed files with 17 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
<ul>
|
||||
{% for zet in zets if related|filter((title) => title == zet.title) %}
|
||||
<li>
|
||||
<a href="{{ zet.url }}">{{ zet.title }}</a>
|
||||
<a href="{{ zet.url|trim('/', 'right') }}">{{ zet.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue