mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 17:30:00 +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 -%}
|
||||
<ul class="sub-terms">
|
||||
{% for term in definition.data.sub_terms %}
|
||||
<li class="subterm">{{ term.text }}
|
||||
<li
|
||||
class="subterm"
|
||||
>{{ term | linkSubTermIfDefined(collections.definedWords) | safe }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user