mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 17:30:00 +00:00
feat(11ty): render subterms in toc
This commit is contained in:
parent
a83f278cee
commit
90666572b9
@ -6,5 +6,11 @@
|
||||
(definition.data.flag.level == 'avoid') -%}
|
||||
<span class="flag__red">{{ definition.data.flag.type }}</span>
|
||||
{% endif %}
|
||||
{%- if definition.data.sub_terms -%}
|
||||
<ul class="sub-terms">
|
||||
{% for term in definition.data.sub_terms %}
|
||||
<li class="subterm">{{ term.text }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user