personal-site/themes/theme/templates/index.html

17 lines
372 B
HTML

{% extends "base.html" %}
{% block content %}
{% for article in articles_page.object_list %}
<h2><a href="{{ article.url }}">{{ article.title }}</a></h2>
<p class="metadata">
{{ article.locale_date }}
{% if article.modified %}
— updated {{ article.locale_modified }}
{% endif %}
</p>
<div class="summary">
{{ article.summary }}
</div>
{% endfor %}
{% endblock %}