diff options
| author | Christian Cleberg <[email protected]> | 2024-03-29 01:30:23 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-03-29 01:30:23 -0500 |
| commit | 07c42d3ad17060131e822f5816d2057cd1753b1b (patch) | |
| tree | 205e844650144648e58700df2b632c89298904d4 /theme/templates/blog.html | |
| parent | c71a52cb7a80a102e58bd5465e994225ea98c44f (diff) | |
| download | cleberg.net-07c42d3ad17060131e822f5816d2057cd1753b1b.tar.gz cleberg.net-07c42d3ad17060131e822f5816d2057cd1753b1b.tar.bz2 cleberg.net-07c42d3ad17060131e822f5816d2057cd1753b1b.zip | |
massive re-write from org-publish to weblorg
Diffstat (limited to 'theme/templates/blog.html')
| -rw-r--r-- | theme/templates/blog.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/theme/templates/blog.html b/theme/templates/blog.html new file mode 100644 index 0000000..b3b3a3f --- /dev/null +++ b/theme/templates/blog.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block subtitle %}Blog | {% endblock %} +{% block main %} + <h1>Blog</h1> + <p>Use <code>Ctrl + F</code> to search blog post titles for keywords.</p> + <p>You can also add the <a href="/feed.xml">RSS Feed</a> to your feed reader.</p> + {% for post in posts %} + <div class="post"> + <time datetime="{{ post.date | strftime("%Y-%m-%d") }}"><{{ post.date|strftime("%Y-%m-%d") }}></time> + <a href="{{ url_for("blog", slug=post.slug) }}">{{ post.title }}</a> + </div> + {% endfor %} +{% endblock %} |
