diff --git a/11ty/_includes/components/table-of-content-item.njk b/11ty/_includes/components/table-of-content-item.njk index a0ae7db5..834082c5 100644 --- a/11ty/_includes/components/table-of-content-item.njk +++ b/11ty/_includes/components/table-of-content-item.njk @@ -1,19 +1,10 @@ -{% set renderedName %} - {{ definition.data.title}} +
  • + {{ definition.data.title | linkIfExistsInCollection(collections.definedWords) | safe }} {%- if definition.data.flag and definition.data.flag.type and (definition.data.flag.level == 'avoid') -%} {{ definition.data.flag.type }} {% endif %} -{% endset %} -
  • - {%- if definition.data.defined -%} - {{ renderedName | safe }} - {%- else -%} - {{ renderedName | safe }} {% endif %}