diff options
Diffstat (limited to 'theme/templates/blog.html')
| -rw-r--r-- | theme/templates/blog.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/theme/templates/blog.html b/theme/templates/blog.html index 605d883..ba7beb3 100644 --- a/theme/templates/blog.html +++ b/theme/templates/blog.html @@ -1,13 +1,13 @@ {% extends "base.html" %} {% block subtitle %}blog - {% endblock %} {% block main %} <h1>Blog</h1> -<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> +<p>Use <code>⌘ F</code> / <code>Ctrl F</code> to search · <a href="/feed.xml">RSS Feed</a></p> +<p>All Posts</p> <ul class="post-list"> -{% for post in posts %} -<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 %} + {% for post in posts %} + <li class="post-list-item"> + <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> + </li> + {% endfor %} </ul> {% endblock %} |
