theme/templates/blog.html

76d68acf0c67e42b248144300ee9abd536bd8a01
cleberg.net/theme/templates/blog.html history · blame · raw

15 lines · 512 bytes

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