about summary refs log tree commit diff
path: root/templates/thread.html
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-08T16·02+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-08T16·02+0200
commit6e56f8e729551ff14b7a72ca889b8dd38999fb2d (patch)
tree1533d6379077741191f57149a776297f8168bcdf /templates/thread.html
parent7dca9183c581f803f7b456712dfed655722986e8 (diff)
feat(main/templates): Add barebones single-thread view
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/thread.html b/templates/thread.html
new file mode 100644
index 000000000000..e841668bfe41
--- /dev/null
+++ b/templates/thread.html
@@ -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>