blob: b73fa39a5670bcbd6fe6dc74bfc9bddb1826e3fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{% extends "base.html" %}
{% block content %}
<main>
<section id="home">
<ul>
{% for article in articles_page.object_list %}
<li>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
<aside>
<ul>
<li>
<time datetime="{{ article.date }}">{{ article.date|strftime('%b %d, %Y') }}</time>
</li>
{% if article.readtime %}
<li>
{{ article.readtime.minutes }} min read
</li>
{% endif %}
</ul>
</aside>
<p>
{{ article.summary }}
<a href="{{ SITEURL }}/{{ article.url }}"><em>Read more...</em></a>
</p>
</li>
{% endfor %}
</ul>
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
</section>
</main>
{% endblock content %}
|