diff options
author | Akshay <[email protected]> | 2024-12-30 10:24:08 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2024-12-30 10:24:08 +0000 |
commit | e318348818a759531424cab414ebfa7b102f12c3 (patch) | |
tree | a2cbabc9b4a17e5db23636ab02e96dd8b2a39b39 /src/mixins/post.pug | |
parent | eb2b31f65dec6431b48a0cadd68dbd52c7ab21a4 (diff) |
fix colors, show gildings
Diffstat (limited to 'src/mixins/post.pug')
-rw-r--r-- | src/mixins/post.pug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mixins/post.pug b/src/mixins/post.pug index b44ae6d..722a353 100644 --- a/src/mixins/post.pug +++ b/src/mixins/post.pug | |||
@@ -12,6 +12,10 @@ mixin post(p, currentUrl) | |||
12 | div.info-container | 12 | div.info-container |
13 | p | 13 | p |
14 | | #{fmtnum(p.ups)} ↑ | 14 | | #{fmtnum(p.ups)} ↑ |
15 | if p.gilded > 0 | ||
16 | | · | ||
17 | span.gilded | ||
18 | | #{p.gilded} ☆ | ||
15 | span.post-author | 19 | span.post-author |
16 | | · | 20 | | · |
17 | | u/#{p.author} | 21 | | u/#{p.author} |