mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-22 09:09:09 +00:00
17 lines
506 B
Plaintext
17 lines
506 B
Plaintext
<li>
|
|
{{ definition.data.title | linkIfExistsInCollection(collections.definedWords) | safe }}
|
|
{%- 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 %}
|
|
{%- if definition.data.sub_terms -%}
|
|
<ul class="sub-terms">
|
|
{% for term in definition.data.sub_terms %}
|
|
<li class="subterm">{{ term.text }}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</li>
|