blob: a955f427302133edebb289330ca56c38a5aa67c2 (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{% extends "base.html" %}
{% block title %}
Blog - {{ config.title }}
{% endblock %}
{% block content %}
<div class="pagination">
<a href="{{ paginator.first }}">« First page</a>
{% if paginator.previous %}
<a href="{{ paginator.previous }}">‹ Previous page</a>
{% endif %}
<div style="flex-grow: 1;"></div>
{% if paginator.next %}
<a class="right" href="{{ paginator.next }}">› Next page</a>
{% endif %}
<a class="right" href="{{ paginator.last }}">Last page »</a>
</div>
{% for page in paginator.pages %}
<div class="article-header">
<h1><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h1>
<div class="info">
<p class="date">{{ page.date | date(format="%B %-d, %Y") }}</p>
<p class="tags">
{% for tag in page.taxonomies["tags"] %}
<a href="{{ get_taxonomy_url(kind="tags", name=tag) }}">#{{ tag }}</a>
{%- endfor %}
</p>
</div>
</div>
<div class="typography">
{{ page.summary | safe }}
<p><a href="">Read more…</a></p>
</div>
{% if not loop.last %}<hr />{% endif %}
{% endfor %}
<div class="pagination">
<a href="{{ paginator.first }}">« First page</a>
{% if paginator.previous %}
<a href="{{ paginator.previous }}">‹ Previous page</a>
{% endif %}
<div style="flex-grow: 1;"></div>
{% if paginator.next %}
<a class="right" href="{{ paginator.next }}">› Next page</a>
{% endif %}
<a class="right" href="{{ paginator.last }}">Last page »</a>
</div>
{% endblock %}
|