diff options
author | James Taylor <user234683@users.noreply.github.com> | 2021-07-01 17:33:12 -0700 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-07-01 21:04:33 -0500 |
commit | acfa31ff5991c2a7b6c510c45f2481db461970c7 (patch) | |
tree | 043c743278b2149eaef3d788427998dbda5cd3c5 /youtube/templates/base.html | |
parent | 4a9c1422e74e017056d0578bc1ae67e4ebd5ea01 (diff) | |
download | yt-local-acfa31ff5991c2a7b6c510c45f2481db461970c7.tar.lz yt-local-acfa31ff5991c2a7b6c510c45f2481db461970c7.tar.xz yt-local-acfa31ff5991c2a7b6c510c45f2481db461970c7.zip |
Change search url path to match the YouTube path
Fixes #67
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/templates/base.html')
-rw-r--r-- | youtube/templates/base.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html index 2278a02..8a0238a 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -20,8 +20,8 @@ <nav class="home"> <a href="/youtube.com" id="home-link">YT Local</a> </nav> - <form class="form" id="site-search" action="/youtube.com/search"> - <input type="search" name="query" class="search-box" value="{{ search_box_value }}" + <form class="form" id="site-search" action="/youtube.com/results"> + <input type="search" name="search_query" class="search-box" value="{{ search_box_value }}" {{ "autofocus" if request.path == "/" else "" }} placeholder="Type to search..."> <button type="submit" value="Search" class="search-button">Search</button> <!-- options --> |