aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/base.html4
-rw-r--r--youtube/templates/search.html2
2 files changed, 3 insertions, 3 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 -->
diff --git a/youtube/templates/search.html b/youtube/templates/search.html
index 4238d70..7f8ad26 100644
--- a/youtube/templates/search.html
+++ b/youtube/templates/search.html
@@ -28,7 +28,7 @@
<!-- /video item -->
<footer class="pagination-container">
<nav class="pagination-list">
- {{ common_elements.page_buttons(estimated_pages, '/https://www.youtube.com/search', parameters_dictionary) }}
+ {{ common_elements.page_buttons(estimated_pages, '/https://www.youtube.com/results', parameters_dictionary) }}
</nav>
</footer>
{% endblock main %}