mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-23 09:50:39 +00:00
29 lines
904 B
Plaintext
29 lines
904 B
Plaintext
|
<section class="definition-content">
|
||
|
<section class="definition-content__content">
|
||
|
{{ content | safe }}
|
||
|
{# <p>{{ alt_words }}</p> #}
|
||
|
</section>
|
||
|
{%- if alt_words -%}
|
||
|
<section class="definition-content__content">
|
||
|
<h2 id="alt-words">Alt Words</h2>
|
||
|
<ul class="list-semicolon" aria-labelledby="alt-words">
|
||
|
{% for word in alt_words %}
|
||
|
<li>{{ word | linkIfExistsInCollection(collections.definedWords) | safe }}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</section>
|
||
|
{% endif %}
|
||
|
{%- if reading -%}
|
||
|
<section class="definition-content__content">
|
||
|
<h2 id="further-reading">Further Reading</h2>
|
||
|
<ul class="list-semicolon" aria-labelledby="further-reading">
|
||
|
{% for link in reading %}
|
||
|
<li>
|
||
|
<a href="{{link.href}}">{{ link.text }}</a>
|
||
|
</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</section>
|
||
|
{% endif %}
|
||
|
</section>
|