feat(main/templates): Add barebones single-thread view

This commit is contained in:
Vincent Ambo 2018-04-08 18:02:01 +02:00
parent 7dca9183c5
commit 6e56f8e729
4 changed files with 43 additions and 3 deletions

14
templates/thread.html Normal file
View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Converse: {{ thread.title }}</title>
</head>
<body>
<h1>{{ thread.title }}</h1>
<p>{{ thread.body }}<br><i>Posted at {{ thread.posted }}</i></p>
{% for post in posts -%}
<li>{{ post.body }}<br><i>Posted at {{ post.posted }}</i></p>
{%- endfor %}
</body>
</html>