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