{% extends 'base.html' %} {% block content %}

{{events.title}}

{{events.formatted_header|safe}}

{{events.formatted_body|safe}}

{% if gallery %}
Gallery: {{gallery.title}}
{% for child in events.children.all %} {% endfor %}
{% for events in latest_content_list %} {% if events.type_id == 1 %}
{{ events.title }}
{{ events.formatted_header|safe }}
{% endif %} {% if events.type_id == 0 %}
{{ events.title }}
{% endif %} {% endfor %}
{% endblock %}