locutory/templates/blog.html

13 lines
480 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}Blog · Quorate{% endblock title %}
{% block main %}
<h1>{{ section.title }}</h1>
<ul class="posts">
{% for page in section.pages %}
<li><a href="{{ page.permalink }}">
{% if page.extra.thumbnail %}<img src="{{ page.extra.thumbnail }}" alt="">{% endif %}
<div><h2>{{ page.title }}</h2><p>{{ page.description }}</p><time datetime="{{ page.date }}">{{ page.date }}</time></div>
</a></li>
{% endfor %}
</ul>
{% endblock main %}