14 lines
319 B
Twig
14 lines
319 B
Twig
{%- block render -%}
|
|
{% if style == 'ordered' %}
|
|
{% set tag = 'ol' %}
|
|
{% else %}
|
|
{% set tag = 'ul' %}
|
|
{% endif %}
|
|
|
|
<{{ tag }} {% block attributes %}{% endblock %}>
|
|
{% for item in items %}
|
|
<li>{{ item|raw }}</li>
|
|
{% endfor %}
|
|
</{{ tag }}>
|
|
{%- endblock -%}
|