From 90666572b98927403604185226f35ed0cc4feb25 Mon Sep 17 00:00:00 2001 From: Oscar Date: Sun, 17 Nov 2019 18:27:47 +0100 Subject: [PATCH] feat(11ty): render subterms in toc --- 11ty/_includes/components/table-of-content-item.njk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/11ty/_includes/components/table-of-content-item.njk b/11ty/_includes/components/table-of-content-item.njk index 834082c5..11c7b256 100644 --- a/11ty/_includes/components/table-of-content-item.njk +++ b/11ty/_includes/components/table-of-content-item.njk @@ -6,5 +6,11 @@ (definition.data.flag.level == 'avoid') -%} {{ definition.data.flag.type }} {% endif %} + {%- if definition.data.sub_terms -%} + {% endif %}