{% for list_item in list_items %} {% if list_item.__class__.__name__ == 'list' %} {{ render_list_ul(list_item) }} {% else %}
  • {{ list_item }}
  • {% endif %} {% endfor %}