31 lines
627 B
HTML
31 lines
627 B
HTML
{% extends 'default/templates/renderable/commentable.html' %}
|
|
|
|
{% block header %}
|
|
|
|
{% if mode == 'full' %}
|
|
|
|
{% if content.lead_image_id %}
|
|
|
|
<div class="lead-image">
|
|
{{ content.lead_image.render('inline') }}
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<h1 {% if content.lead_image_id %}class="on-lead-image"{% endif %}>{{ content.title.render('inline') }}</h1>
|
|
|
|
{% endif %}
|
|
|
|
{{ super() }}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% if mode == 'full' %}
|
|
{{ content.text.render() }}
|
|
{% else %}
|
|
{{ content.teaser.render() }}
|
|
{% endif %}
|
|
{% endblock %}
|