summaryrefslogblamecommitdiffstats
path: root/templates/section.html
blob: fed7472b94965091ff3f6195a90ff3d3f28b7175 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                 
                                                         

















                                                                                             
{% extends "base.html" %}
{% block content %}
<h1>{{ section.title }}</h1>

{{ section.description }}

<section class="post-list">
	{% for post in section.pages | reverse %}
		<article class="post">
			{% include "posts/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 %}