about summary refs log tree commit diff
path: root/src/render.rs
diff options
context:
space:
mode:
authorTatriX <tatrics@gmail.com>2018-04-16T13·56+0300
committerVincent Ambo <github@tazj.in>2018-04-16T14·26+0200
commitee855d8b6748cc9c22a6dc4cb2bd5f1b7e44e346 (patch)
tree7ddf9876f4ef5ce6007fbdeca938514d53f9b8fd /src/render.rs
parent09a97d46ea8ecb6b94e4576cf9776d6348d5c924 (diff)
feat(templates): Add 'Last post by' to the list of threads
Diffstat (limited to 'src/render.rs')
-rw-r--r--src/render.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render.rs b/src/render.rs
index 95edb5749c68..91f4d3f3f9a2 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -58,6 +58,7 @@ struct IndexThread {
     sticky: bool,
     posted: FormattedDate,
     author_name: String,
+    post_author: String,
 }
 
 impl Handler<IndexPage> for Renderer {
@@ -72,6 +73,7 @@ impl Handler<IndexPage> for Renderer {
                 sticky: thread.sticky,
                 posted: thread.posted.into(),
                 author_name: thread.thread_author,
+                post_author: thread.post_author,
             })
             .collect();