mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-29 11:19:22 +01:00
add search within r/subreddit link to search results (ref #104)
This commit is contained in:
parent
f5d56e77af
commit
dec1633bfa
@ -131,6 +131,8 @@ html
|
|||||||
p.submitted created
|
p.submitted created
|
||||||
span(title="" + toUTCString(suggested_subreddit.data.created) + "") #{timeDifference(suggested_subreddit.data.created)}
|
span(title="" + toUTCString(suggested_subreddit.data.created) + "") #{timeDifference(suggested_subreddit.data.created)}
|
||||||
.links
|
.links
|
||||||
|
small
|
||||||
|
a(href="/" + suggested_subreddit.data.display_name_prefixed + "/search?q=" + q + "&nsfw=" + nsfw + "&restrict_sr=on") search within #{suggested_subreddit.data.display_name_prefixed}
|
||||||
if suggested_subreddit.data.over_18
|
if suggested_subreddit.data.over_18
|
||||||
span.tag.nsfw NSFW
|
span.tag.nsfw NSFW
|
||||||
a(href="/subreddits/search?q="+ q +"", class="btn") show more similar subreddits
|
a(href="/subreddits/search?q="+ q +"", class="btn") show more similar subreddits
|
||||||
|
Loading…
Reference in New Issue
Block a user