-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html.j2
More file actions
55 lines (50 loc) · 1.45 KB
/
Copy pathindex.html.j2
File metadata and controls
55 lines (50 loc) · 1.45 KB
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
53
54
55
{% extends "base.html.j2" %}
{% block content %}
<a type="button" class="btn btn-dark btn-lg text-decoration-none" href="https://t.me/s/pythonetc" target="_blank">
<i class="fa-brands fa-telegram"></i>
telegram
</a>
<a type="button" class="btn btn-dark btn-lg text-decoration-none" href="https://github.com/life4/pythonetc" target="_blank">
<i class="fa-brands fa-github"></i>
github
</a>
<a type="button" class="btn btn-dark btn-lg text-decoration-none" href="index.xml">
<i class="fa-solid fa-rss"></i>
rss
</a>
<h2>Categories</h2>
<ul>
{% for page in pages %}
<li>
<a href="{{ page.url }}">
{{ page.title }}
<a>
— {{ page.descr }}
</li>
{% endfor %}
</ul>
<div class="row">
{% for year, posts in years %}
<div class="col-md-4">
<h2>
{{ year }}
<span class="text-muted">({{ len(posts) }})</span>
</h2>
<ul>
{% for post in posts %}
{% include "_post_line.j2" %}
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
<div class="container-fluid bg-white py-3">
<div class="container text-muted">
Generated on {{ now.date().isoformat() }}
using Python {{ python_version }}
{% if commit_sha %}
(<a href="https://github.com/life4/pythonetc/commit/{{ commit_sha }}">{{ commit_sha[:7] }}</a>)
{% endif %}
</div>
</div>
{% endblock %}