diff --git a/11ty/_includes/layouts/base.njk b/11ty/_includes/layouts/base.njk index cdbb9198..399ae025 100644 --- a/11ty/_includes/layouts/base.njk +++ b/11ty/_includes/layouts/base.njk @@ -21,28 +21,30 @@
{{ content | safe }} -
+

Table of Content

-
    - {% for definition in collections.definitions %} - {% set renderedName %} - {{ definition.data.title}} - {%- if definition.data.flag and (definition.data.flag_type == 'avoid') -%} - {{ definition.data.flag}} - {% endif %} - {% endset %} -
  • - {%- if definition.data.alt_words -%} - {% set linkTarget %} - #{{ definition.data.slug }} - {% endset %} - {{ renderedName | safe }} - {%- else -%} - {{ renderedName }} - {% endif %} -
  • - {% endfor %} -
+
+
    + {% for definition in collections.definitions %} + {% set renderedName %} + {{ definition.data.title}} + {%- if definition.data.flag and (definition.data.flag.level == 'avoid') -%} + {{ definition.data.flag.type }} + {% endif %} + {% endset %} +
  • + {%- if definition.data.defined -%} + {{ renderedName | safe }} + {%- else -%} + {{ renderedName | safe }} + {% endif %} +
  • + {% endfor %} +
+

Words