diff options
| author | Christian Cleberg <[email protected]> | 2026-03-11 00:06:53 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-03-11 00:06:53 -0500 |
| commit | a3fc6277345ab1890992dfb1ba05cc513a38a2f6 (patch) | |
| tree | 1b607ff2e67e2de65c335896de9dfeca3b38fdd3 /theme/templates/blog.html | |
| parent | cd0f20fa2de296b4da6308b4049f858c872d1b83 (diff) | |
| download | cleberg.net-a3fc6277345ab1890992dfb1ba05cc513a38a2f6.tar.gz cleberg.net-a3fc6277345ab1890992dfb1ba05cc513a38a2f6.tar.bz2 cleberg.net-a3fc6277345ab1890992dfb1ba05cc513a38a2f6.zip | |
Update blog, post, and page templates
Diffstat (limited to 'theme/templates/blog.html')
| -rw-r--r-- | theme/templates/blog.html | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/theme/templates/blog.html b/theme/templates/blog.html index 0b690ab..605d883 100644 --- a/theme/templates/blog.html +++ b/theme/templates/blog.html @@ -1,19 +1,13 @@ -{% extends "base.html" %} {% block subtitle %}blog - {% endblock %} {% block -main %} +{% extends "base.html" %} {% block subtitle %}blog - {% endblock %} {% block main %} <h1>Blog</h1> -<p> - Use <code>⌘ + f</code> (<code>Ctrl + f</code>) to search for - keywords. -</p> -<p> - You can also add the <a href="/feed.xml">RSS Feed</a> to your feed reader. -</p> -<br> +<p class="blog-meta">Use <code>⌘ F</code> / <code>Ctrl F</code> to search · <a href="/feed.xml">RSS Feed</a></p> +<p class="label">All Posts</p> +<ul class="post-list"> {% 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) }}' data-text="{{ post.title }}">{{ post.title }}</a> -</div> -{% endfor %} {% endblock %} +<li class="post-list-item"> + <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a> + <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time> +</li> +{% endfor %} +</ul> +{% endblock %} |
