{% macro renderAltWords(words, labels) %}
{%- if words | isArray -%}
{# Array #}
{%- for word in words -%}
{{ word | linkIfExistsInCollection(collections.definedWords) | safe }}
{%- endfor -%}
{%- else -%}
{# Object #}
{# With class="", the list loses padding via the CSS reset style. #}
{# For multi-level category support, we may want an actual class. #}