{{ title }}
{% if items is mapping %}
{% for k, v in items.items() %}
- {{ k }}: {{ v }}
{% endfor %}
{% elif items is iterable %}
{% set idx = 1 %}
{% for entry in items %}
{{ title[:-1] if title.endswith('s') else title }} {{ idx }}:
{% for k, v in entry.items() %}
- {{ k }}: {{ v }}
{% endfor %}
{% set idx = idx + 1 %}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}