diff options
author | Matt Arnold | 2025-04-15 22:38:45 -0400 |
---|---|---|
committer | Matt Arnold | 2025-04-15 22:38:45 -0400 |
commit | 6e1f614f0cf67d997c0a1b7e4e3866294c05f1e0 (patch) | |
tree | 0f4cd6962d24773e9c487cac3fdbf1a2e3e36b16 /templates/index.html | |
parent | 1f6e041e49754ae41db005f98df2685031ccaff0 (diff) |
We're at Minimum viable product now
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/templates/index.html b/templates/index.html index 9a05e7a..b18ca34 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,11 +1,12 @@ {% extends 'base.html' %} {% block content %} - <h2>Posts</h2> - <ul> - {% for post in posts %} - <li><a href="{{ url_for('post', post_id=post.id) }}">{{ post.title }}</a> - {{ post.created_at.strftime('%Y-%m-%d') }}</li> - {% endfor %} - </ul> - <a href="{{ url_for('create') }}">Create a new post</a> +<h2>Posts</h2> +<ul> + {% for post in posts %} + <li><a href="{{ url_for('thread', post_id=post.id) }}">{{ post.title }}</a> - {{ + post.created_at.strftime('%Y-%m-%d') }}</li> + {% endfor %} +</ul> +<a href="{{ url_for('create') }}">Create a new post</a> {% endblock %} \ No newline at end of file |