diff options
Diffstat (limited to 'src/views/search.pug')
-rw-r--r-- | src/views/search.pug | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/views/search.pug b/src/views/search.pug index 216875f..ef9b53e 100644 --- a/src/views/search.pug +++ b/src/views/search.pug | |||
@@ -13,19 +13,17 @@ html | |||
13 | 13 | ||
14 | form(action="/sub-search" method="get").search-bar | 14 | form(action="/sub-search" method="get").search-bar |
15 | - var prefill = original_query ?? ""; | 15 | - var prefill = original_query ?? ""; |
16 | input(type="text" name="q" placeholder="search subreddits" value=prefill required).search-input | 16 | input(type="text" name="q" placeholder="type in a search term..." value=prefill required).search-input |
17 | button(type="submit").search-button go | 17 | button(type="submit").search-button go |
18 | 18 | ||
19 | hr | ||
20 | |||
19 | h1 search posts | 21 | h1 search posts |
20 | 22 | ||
21 | form(action="/post-search" method="get").search-bar | 23 | form(action="/post-search" method="get").search-bar |
22 | - var prefill = original_query ?? ""; | 24 | - var prefill = original_query ?? ""; |
23 | input(type="text" name="q" placeholder="search posts" value=prefill required).search-input | 25 | input(type="text" name="q" placeholder="type in a search term..." value=prefill required).search-input |
24 | button(type="submit").search-button go | 26 | button(type="submit").search-button go |
25 | |||
26 | hr | ||
27 | |||
28 | h3 tips | ||
29 | p | 27 | p |
30 | | you can narrow search results using filters: | 28 | | you can narrow search results using filters: |
31 | br | 29 | br |