aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/blog.html
blob: fc4f6d67131fa677520e7a8c8339fa1413317d9d (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
{% extends "base.html" %} {% block subtitle %}Blog | {% endblock %} {% block
main %}
<h1>Blog</h1>
<p>
	Use <code>⌘ + f</code> (<code>Ctrl + f</code>) to search for
	keywords.
</p>
<p>
	You can also add the <a href="/feed.xml">RSS Feed</a> to your feed reader.
</p>
<br>
{% for post in posts %}
<div class="post">
	<time datetime='{{ post.date | strftime("%Y-%m-%d") }}'
		>{{ post.date|strftime("%Y-%m-%d") }}</time
	>
	<div class="post-content">
		<a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a>
		{% if post.filetags %}
			<div class="post-tags">
			{% for tag in post.filetags %}
				<span class="tag">{{ tag }}</span>
			{% endfor %}
			</div>
		{% endif %}
	</div>
</div>
{% endfor %} {% endblock %}