pdnew/themes/default/templates/renderable/page.html

22 lines
466 B
HTML

{% extends 'default/templates/renderable/administerable.html' %}
{% block header %}
{{ super() }}
{% if mode == 'full' %}
{% if content.lead_image_id %}
{{ content.lead_image.render('inline') }}
{% endif %}
<h1 {% if content.lead_image_id %}class="on-lead-image"{% endif %}>{{ content.title.render('inline') }}</h1>
{% endif %}
{% endblock %}
{% block content %}
{{ content.text.render() }}
{% endblock %}