Issue #7 List of redirections

This commit is contained in:
Alexis Hassler
2019-05-17 13:45:29 +02:00
parent a9c6585252
commit e9ee1f40d4
7 changed files with 39 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ menu: ['global']
{% include /functions/wiki-pages.html %}
{% for tag in page.tags %}
{% for other_page in wiki_pages %}
{% if other_page.tags contains tag and other_page.slug != page.slug %}
{% if other_page.tags contains tag and other_page.id != page.id %}
<li><a href="{{ other_page.url }}">{{ other_page.title }}</a></li>
{% endif %}
{% endfor %}