rsspls.7bit.org/templates/section.html

36 lines
948 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% import "_macros.html" as macros %}
{% extends "index.html" %}
{% block title %}{{ section.title }} - {{ config.title }} {% endblock title %}
{% block header %}
<header class="box-shadow">
{{ macros::render_header() }}
</header>
{% endblock header %}
{% block content %}
<h1 class="heading-text">{{ section.description }}</h1>
{{ section.content | safe }}
{% for page in paginator.pages %}
<article>
<h2><a href="{{ page.permalink }}">{{ page.title }}</a></h2>
<time datetime="{{ page.date }}">{{ page.date | date(format="%d %B %Y") }}</time>
<div>
{{ page.summary | safe }}
</div>
</article>
{% endfor %}
<nav class="pagination">
{% if paginator.previous %}
<a class="previous" href="{{ paginator.previous }}"> Previous</a>
{% endif %}
{% if paginator.next %}
<a class="next" href="{{ paginator.next }}">Next </a>
{% endif %}
</nav>
{% endblock content %}