selfhostable, read-only reddit client

Feat: Card View - Separate sort and view detail options

+3 -1
+3 -1
src/views/index.pug
··· 35 35 |, author of lurker 36 36 hr 37 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 39 div.sort-opts 40 40 div 41 41 a(href=`/r/${subreddit}?sort=hot&view=${viewQuery}`) hot ··· 55 55 a(href=`/r/${subreddit}?sort=top&t=year&view=${viewQuery}`) top year 56 56 div 57 57 a(href=`/r/${subreddit}?sort=top&t=all&view=${viewQuery}`) top all 58 + details.sort-details 59 + summary.sorting viewing as #{viewQuery} 58 60 div.sort-opts 59 61 div 60 62 a(href=`/r/${subreddit}?sort=${sortQuery}&view=compact`) compact