feat(dictionary): link to defined alt words

This commit is contained in:
Oscar
2019-11-14 09:32:09 +01:00
parent 3399abf6da
commit 9dc5a142dc
2 changed files with 15 additions and 3 deletions

View File

@ -10,7 +10,7 @@
<h4>Alt words</h4>
<ul class="list-semicolon">
{% for word in definition.data.alt_words %}
<li>{{ word }}</li>
<li>{{ word | linkIfExistsInCollection(collections.definedWords) | safe }}</li>
{% endfor %}
</ul>
{% endif %}