aboutsummaryrefslogtreecommitdiff
path: root/src/mixins/post.pug
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-12-29 10:49:18 +0000
committerPortableProgrammer <[email protected]>2024-12-30 21:46:17 +0000
commit12fba690f13ad288dfd86070e31b97f7e69a2070 (patch)
tree0bd33378cd368f395aeb045685c86628d2ebbcdd /src/mixins/post.pug
parenteae5094ea241cc69b38cce328b73e858e6ff63de (diff)
highlight sticky comments
Diffstat (limited to 'src/mixins/post.pug')
-rw-r--r--src/mixins/post.pug2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixins/post.pug b/src/mixins/post.pug
index 4022424..26dc976 100644
--- a/src/mixins/post.pug
+++ b/src/mixins/post.pug
@@ -4,7 +4,7 @@ mixin post(p, currentUrl)
4 - var from = encodeURIComponent(currentUrl) 4 - var from = encodeURIComponent(currentUrl)
5 - var viewQuery = query && query.view ? query.view : 'compact' 5 - var viewQuery = query && query.view ? query.view : 'compact'
6 - var sortQuery = query && query.sort ? query.sort + (query.t ? '&t=' + query.t : '') : 'hot' 6 - var sortQuery = query && query.sort ? query.sort + (query.t ? '&t=' + query.t : '') : 'hot'
7 article.post 7 article(class=`post ${p.stickied?"sticky":""}`)
8 div.post-container(class=`${query.view}`) 8 div.post-container(class=`${query.view}`)
9 div.post-text(class=`${query.view}`) 9 div.post-text(class=`${query.view}`)
10 div.title-container(class=`${query.view}`) 10 div.title-container(class=`${query.view}`)