theme/templates/blog.html
19 lines · 527 bytes
1{% extends "base.html" %} {% block subtitle %}Blog | {% endblock %} {% block
2main %}
3<h1>Blog</h1>
4<p>
5 Use <code>⌘ + f</code> (<code>Ctrl + f</code>) to search for
6 keywords.
7</p>
8<p>
9 You can also add the <a href="/feed.xml">RSS Feed</a> to your feed reader.
10</p>
11<br>
12{% for post in posts %}
13<div class="post">
14 <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'
15 >{{ post.date|strftime("%Y-%m-%d") }}</time
16 >
17 <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a>
18</div>
19{% endfor %} {% endblock %}