diff options
| author | Philipp Geyer <philipp@geyer.co.uk> | 2022-01-22 14:12:35 +0000 |
|---|---|---|
| committer | Philipp Geyer <philipp@geyer.co.uk> | 2022-01-22 14:12:35 +0000 |
| commit | ba4e78346aac1843890c1a889807b8e60bdf9419 (patch) | |
| tree | 5982ccc113872b20db69005bf8bb2addff492571 /theme/templates/articles.html | |
| parent | 93ea64f62c8056a532367600f53f69d4daa79ea3 (diff) | |
Some work on my website - should be looking half decent finally, and have some content
Diffstat (limited to 'theme/templates/articles.html')
| -rw-r--r-- | theme/templates/articles.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/theme/templates/articles.html b/theme/templates/articles.html new file mode 100644 index 0000000..07085a1 --- /dev/null +++ b/theme/templates/articles.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block main %} + <h1>Articles</h1> + + <ul class="posts"> + {% for post in posts %} + <li class="post-title"> + <a href="{{ url_for("pages", slug=post.slug) }}"> + {% if post.date is defined %} + {{ post.date|strftime("%b %d, %Y") }} — + {% endif %} + {{ post.title }} + </a> + </li> + {% endfor %} + </ul> +{% endblock %} |
