about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/render.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render.rs b/src/render.rs
index 598d48bce893..186b96d247c0 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -58,6 +58,7 @@ impl Message for IndexPage {
 struct IndexThread {
     id: i32,
     title: String,
+    sticky: bool,
     posted: FormattedDate,
     author_name: String,
 }
@@ -71,6 +72,7 @@ impl Handler<IndexPage> for Renderer {
             .map(|thread| IndexThread {
                 id: thread.thread_id,
                 title: escape_html(&thread.title),
+                sticky: thread.sticky,
                 posted: thread.posted.into(),
                 author_name: thread.thread_author,
             })