support contest mode

This commit is contained in:
teddit
2020-12-27 18:56:27 +01:00
parent ced2d6f001
commit 357c6402cd
4 changed files with 13 additions and 1 deletions
+3
View File
@@ -134,6 +134,9 @@ html
a(href="" + post.media.source + "") [media]
if post.selftext
div.usertext-body !{post.selftext}
if post.contest_mode
.infobar.blue
p this thread is in contest mode - contest mode randomizes comment sorting and hides scores.
if viewing_comment
.infobar
p you are viewing a single comment's thread.