{% extends 'base.html' %} {% block content %} {% if request.user.is_staff %}
Edit
{% endif %}

{{ content.title }}

{{ content.header|safe }}

{{ content.body|safe }}

{% if content.children.exists %} Child Nodes:
{% endif %} {% if content.parent and content.parent.title %} Part of:
{{content.parent.title}} {% endif %} {% if content.resources.exists %}
Resources:
{% for res in content.resources.all %}
{% if res.is_image %} {% elif res.is_audio %} {% elif res.is_video %} {% else %} {{res.description|default:res.href}} {% endif %}
{% endfor %}
{% endif %}
{% endblock %}