theme/templates/blog.html
27 lines · 741 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 blog post titles 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{% for post in posts %}
12<div class="post">
13 <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'
14 >{{ post.date|strftime("%Y-%m-%d") }}</time
15 >
16 <div class="post-content">
17 <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a>
18 {% if post.filetags %}
19 <div class="post-tags">
20 {% for tag in post.filetags %}
21 <span class="tag">{{ tag }}</span>
22 {% endfor %}
23 </div>
24 {% endif %}
25 </div>
26</div>
27{% endfor %} {% endblock %}