diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/index.pug | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/views/index.pug b/src/views/index.pug index 01b2941..f506c09 100644 --- a/src/views/index.pug +++ b/src/views/index.pug | |||
@@ -44,13 +44,14 @@ html | |||
44 | 44 | ||
45 | div.hero | 45 | div.hero |
46 | div.sub-title | 46 | div.sub-title |
47 | a(href=`/r/${subreddit}`) | 47 | h1 |
48 | h1 r/#{subreddit} | 48 | a(href=`/r/${subreddit}`) |
49 | | r/#{subreddit} | ||
49 | div#button-container | 50 | div#button-container |
50 | if about | 51 | if about |
51 | p #{about.public_description} | 52 | p #{about.public_description} |
52 | details | 53 | details |
53 | summary sort by | 54 | summary sorting by #{query.sort + (query.t?' '+query.t:'')} |
54 | div.sort-opts | 55 | div.sort-opts |
55 | a(href=`/r/${subreddit}?sort=hot`) hot | 56 | a(href=`/r/${subreddit}?sort=hot`) hot |
56 | a(href=`/r/${subreddit}?sort=new`) new | 57 | a(href=`/r/${subreddit}?sort=new`) new |