diff options
author | PortableProgrammer <[email protected]> | 2025-01-08 16:06:14 +0000 |
---|---|---|
committer | PortableProgrammer <[email protected]> | 2025-01-08 16:06:14 +0000 |
commit | dcd33d89e28c97cc620397d912316a116ac091ba (patch) | |
tree | e9b482c2863d56347d9449ca015981ddc1cb5f0f /src | |
parent | 7db14056d32575cf3cb7bed927ea0d9189efeebc (diff) |
Feat: Card View - Separate sort and view detail options
Diffstat (limited to 'src')
-rw-r--r-- | src/views/index.pug | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/views/index.pug b/src/views/index.pug index 847adbb..9f5142b 100644 --- a/src/views/index.pug +++ b/src/views/index.pug | |||
@@ -35,7 +35,7 @@ html | |||
35 | |, author of lurker | 35 | |, author of lurker |
36 | hr | 36 | hr |
37 | details.sort-details | 37 | details.sort-details |
38 | summary.sorting sorting by #{query.sort + (query.t?' '+query.t:'')}, #{viewQuery} view | 38 | summary.sorting sorting by #{query.sort + (query.t?' '+query.t:'')} |
39 | div.sort-opts | 39 | div.sort-opts |
40 | div | 40 | div |
41 | a(href=`/r/${subreddit}?sort=hot&view=${viewQuery}`) hot | 41 | a(href=`/r/${subreddit}?sort=hot&view=${viewQuery}`) hot |
@@ -55,6 +55,8 @@ html | |||
55 | a(href=`/r/${subreddit}?sort=top&t=year&view=${viewQuery}`) top year | 55 | a(href=`/r/${subreddit}?sort=top&t=year&view=${viewQuery}`) top year |
56 | div | 56 | div |
57 | a(href=`/r/${subreddit}?sort=top&t=all&view=${viewQuery}`) top all | 57 | a(href=`/r/${subreddit}?sort=top&t=all&view=${viewQuery}`) top all |
58 | details.sort-details | ||
59 | summary.sorting viewing as #{viewQuery} | ||
58 | div.sort-opts | 60 | div.sort-opts |
59 | div | 61 | div |
60 | a(href=`/r/${subreddit}?sort=${sortQuery}&view=compact`) compact | 62 | a(href=`/r/${subreddit}?sort=${sortQuery}&view=compact`) compact |