pdnew/themes/default/templates/renderable/propaganda-teaser.html

24 lines
554 B
HTML
Raw Permalink Normal View History

{% extends 'default/templates/renderable/propaganda.html' %}
{% block header %}
<a class="teaser-link" href="{{ content.url() }}">
<div class="preview">
{% for piece in content.pieces_ordered %}
{{ piece.render('inline-teaser') }}
{% endfor %}
</div>
<h2>{{ content.title.render('inline') }}</h2>
{{ super() }}
</a>
{% endblock %}
2024-09-01 16:52:27 +00:00
{% block content %}
<a class="teaser-link" href="{{ content.url() }}">
{{ content.teaser.render() }}
</a>
{% endblock %}