summaryrefslogblamecommitdiffstats
path: root/templates/film/section.html
blob: e4d221d3445229be363008f9fb019424bc7b10bd (plain) (tree)
































                                                                                             
{% extends "base.html" %}
{% block language %}
{% set translations = section.translations %}
{% include "translation-links.html" %}
{% endblock language %}

{% block content %}
<h1>{{ section.title }}</h1>

{{ section.description }}

<section class="post-list">
	{% for post in section.pages | reverse %}
		<article class="post">
			{% include "film/post_header.html" %}
			<section class="post-summary">
				{% if post.summary %}
					{{ post.summary | safe }}
				{% else %}
					{{ post.content | safe }}
				{% endif %}
			</section>
			<footer>
				{% if post.summary %}
					<a href="{{ post.permalink }}">
						{{ trans(key="moreprompt", lang=post.lang) }}
					</a>
				{% endif %}
			</footer>
		</article>
	{% endfor %}
</section>
{% endblock content %}