mirror of
				https://github.com/fooflington/selfdefined.git
				synced 2025-10-30 21:58:32 +00:00 
			
		
		
		
	feat(11ty): render subterms in toc
This commit is contained in:
		| @@ -6,5 +6,11 @@ | |||||||
|     (definition.data.flag.level == 'avoid') -%} |     (definition.data.flag.level == 'avoid') -%} | ||||||
|     <span class="flag__red">{{ definition.data.flag.type }}</span> |     <span class="flag__red">{{ definition.data.flag.type }}</span> | ||||||
|   {% endif %} |   {% 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 %} |   {% endif %} | ||||||
| </li> | </li> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Oscar
					Oscar