diff options
| author | Christian Cleberg <[email protected]> | 2024-07-28 19:46:20 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-07-28 19:46:20 -0500 |
| commit | 5d4a1199b51602f64985982c82de9b7c537583c6 (patch) | |
| tree | 7ac50f99425c5524c0820360754045b80d1bafcc /theme/templates/blog.html | |
| parent | e86c55dbfad35870e76bd0e69991416f60017512 (diff) | |
| download | cleberg.net-5d4a1199b51602f64985982c82de9b7c537583c6.tar.gz cleberg.net-5d4a1199b51602f64985982c82de9b7c537583c6.tar.bz2 cleberg.net-5d4a1199b51602f64985982c82de9b7c537583c6.zip | |
conversion from Zola to Weblorg
Diffstat (limited to 'theme/templates/blog.html')
| -rw-r--r-- | theme/templates/blog.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/theme/templates/blog.html b/theme/templates/blog.html new file mode 100644 index 0000000..daa36ee --- /dev/null +++ b/theme/templates/blog.html @@ -0,0 +1,15 @@ +{% 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 %} |
