From ee855d8b6748cc9c22a6dc4cb2bd5f1b7e44e346 Mon Sep 17 00:00:00 2001 From: TatriX Date: Mon, 16 Apr 2018 16:56:00 +0300 Subject: feat(templates): Add 'Last post by' to the list of threads --- src/render.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 for Renderer { @@ -72,6 +73,7 @@ impl Handler for Renderer { sticky: thread.sticky, posted: thread.posted.into(), author_name: thread.thread_author, + post_author: thread.post_author, }) .collect(); -- cgit 1.4.1