{% set keyword = 'ul' %}

{% if node.isOrdered %}
    {% set keyword = 'ol' %}
{% endif %}

<{{ keyword }}{% if node.classes %} class="{{ node.classesString }}"{% endif %}
{%- if node.start  %} start="{{ node.start }}"{% endif -%}
{%- if node.orderingType  %} type="{{ renderOrderedListType(node.orderingType) }}"{% endif -%}>
{% for child in node.children %}
    {{ renderNode(child) }}
{% endfor %}
</{{ keyword }}>
{# force a new line at the end of the file #}
