2019-11-15 23:24:12 +01:00
|
|
|
<article id="{{ definition.data.slug }}" class="block__word word">
|
|
|
|
{% definitionFlag definition.data.flag %}
|
2019-11-12 15:16:14 +01:00
|
|
|
<h3 class="word__title">
|
|
|
|
{{ definition.data.title}}
|
|
|
|
<span class="word__speech">{{ definition.data.speech}}</span>
|
|
|
|
</h3>
|
2019-11-12 20:46:38 +01:00
|
|
|
<div class="word__content">
|
|
|
|
{{ definition.templateContent | safe }}
|
|
|
|
{# <p>{{ definition.data.alt_words }}</p> #}
|
|
|
|
{%- if definition.data.alt_words -%}
|
2019-11-15 20:53:39 +01:00
|
|
|
<h4>Alt Words</h4>
|
2019-11-12 20:46:38 +01:00
|
|
|
<ul class="list-semicolon">
|
|
|
|
{% for word in definition.data.alt_words %}
|
2019-11-14 09:32:09 +01:00
|
|
|
<li>{{ word | linkIfExistsInCollection(collections.definedWords) | safe }}</li>
|
2019-11-12 20:46:38 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2019-11-15 20:53:14 +01:00
|
|
|
{%- if definition.data.reading -%}
|
|
|
|
<h4>Further Reading</h4>
|
|
|
|
<ul class="list-semicolon">
|
|
|
|
{% for link in definition.data.reading %}
|
|
|
|
<li>
|
|
|
|
<a href="{{link.href}}">{{ link.text }}</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2019-11-12 20:46:38 +01:00
|
|
|
</div>
|
2019-11-12 01:17:50 +01:00
|
|
|
</article>
|