diff options
| author | Christian Cleberg <[email protected]> | 2024-04-13 02:49:46 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-04-13 02:49:46 -0500 |
| commit | b84267827f021c92b6cbd08aa2e1bf97bb07c438 (patch) | |
| tree | 5f058fd4b8f2545bc3a9d8181e7a1d9ec1ef1ce1 /theme/templates/blog.html | |
| parent | 594b02ed9ea672d77b0aabd93ba423da4349363c (diff) | |
| download | cleberg.net-b84267827f021c92b6cbd08aa2e1bf97bb07c438.tar.gz cleberg.net-b84267827f021c92b6cbd08aa2e1bf97bb07c438.tar.bz2 cleberg.net-b84267827f021c92b6cbd08aa2e1bf97bb07c438.zip | |
minify site
Diffstat (limited to 'theme/templates/blog.html')
| -rw-r--r-- | theme/templates/blog.html | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/theme/templates/blog.html b/theme/templates/blog.html index b3b3a3f..110043f 100644 --- a/theme/templates/blog.html +++ b/theme/templates/blog.html @@ -2,13 +2,14 @@ {% 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 %} +<p><a href="/">← home</a></p> +<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 %} |
