mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-19 16:19:16 +00:00
feat(11ty): link sub terms in table of content
This commit is contained in:
parent
42d525279b
commit
fdc49636e3
@ -9,7 +9,9 @@
|
|||||||
{%- if definition.data.sub_terms -%}
|
{%- if definition.data.sub_terms -%}
|
||||||
<ul class="sub-terms">
|
<ul class="sub-terms">
|
||||||
{% for term in definition.data.sub_terms %}
|
{% for term in definition.data.sub_terms %}
|
||||||
<li class="subterm">{{ term.text }}
|
<li
|
||||||
|
class="subterm"
|
||||||
|
>{{ term | linkSubTermIfDefined(collections.definedWords) | safe }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user