www-garbaye/templates/blogpage.html

24 lines
604 B
HTML
Raw Permalink Normal View History

2022-06-06 19:07:57 +00:00
{% import "_macros.html" as macros %}
{% extends "index.html" %}
{% block title %}{{ section.title }} | {{ super() }} {% endblock title %}
{% block header %}
<header class="box-shadow">
{{ macros::render_header() }}
</header>
{% endblock header %}
{% block content %}
<h1 class="title">
{{ section.title }}
</h1>
<h2 class="title"><a href="/blog/atom.xml">S'abonner</a></h2>
<ul>
{% for page in section.pages %}
<li>{{ page.date }} <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
<p class="subtext">{{ page.summary | safe }}</p></li>
{% endfor %}
</ul>
{% endblock content %}