mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-23 09:50:39 +00:00
19 lines
631 B
Plaintext
19 lines
631 B
Plaintext
<article id={{ definition.data.slug }} class="block__word word">
|
|
<h3 class="word__title">
|
|
{{ definition.data.title}}
|
|
<span class="word__speech">{{ definition.data.speech}}</span>
|
|
</h3>
|
|
<div class="word__content">
|
|
{{ definition.templateContent | safe }}
|
|
{# <p>{{ definition.data.alt_words }}</p> #}
|
|
{%- if definition.data.alt_words -%}
|
|
<h4>Alt words</h4>
|
|
<ul class="list-semicolon">
|
|
{% for word in definition.data.alt_words %}
|
|
<li>{{ word | linkIfExistsInCollection(collections.definedWords) | safe }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</div>
|
|
</article>
|