2019-11-17 18:27:28 +01:00
|
|
|
<li>
|
|
|
|
{{ definition.data.title | linkIfExistsInCollection(collections.definedWords) | safe }}
|
2019-11-15 22:19:37 +01:00
|
|
|
{%- if
|
|
|
|
definition.data.flag and
|
|
|
|
definition.data.flag.type and
|
|
|
|
(definition.data.flag.level == 'avoid') -%}
|
|
|
|
<span class="flag__red">{{ definition.data.flag.type }}</span>
|
|
|
|
{% endif %}
|
2019-11-17 18:27:47 +01:00
|
|
|
{%- if definition.data.sub_terms -%}
|
|
|
|
<ul class="sub-terms">
|
|
|
|
{% for term in definition.data.sub_terms %}
|
2019-11-17 19:50:10 +01:00
|
|
|
<li
|
|
|
|
class="subterm"
|
|
|
|
>{{ term | linkSubTermIfDefined(collections.definedWords) | safe }}</li>
|
2019-11-17 18:27:47 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2019-11-15 22:19:37 +01:00
|
|
|
{% endif %}
|
|
|
|
</li>
|