about summary refs log tree commit diff
path: root/templates/thread.html
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-08T20·38+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-08T20·38+0200
commite761b2d295c920da153ac673892cfd9616e6a2b7 (patch)
treed170810aefa8a0f881e0d0dd02bbd384c0b8539f /templates/thread.html
parent1c4d436eae0d5c05c0cee2d7587f97486442a991 (diff)
feat(templates): Display author information in templates
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/thread.html b/templates/thread.html
index e26d4bcc613e..83007d6ac1b8 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -6,9 +6,9 @@
   <body>
     <h1>{{ thread.title }}</h1>
 
-    <p>{{ thread.body }}<br><i>Posted at {{ thread.posted }}</i></p>
+    <p>{{ thread.body }}<br><i>Posted at {{ thread.posted }} by {{ thread.author_name }}</i></p>
     {% for post in posts -%}
-    <li>{{ post.body }}<br><i>Posted at {{ post.posted }}</i></li>
+    <li>{{ post.body }}<br><i>Posted at {{ post.posted }} by {{ post.author_name }}</i></li>
     {%- endfor %}
 
     <hr>