diff options
| author | Rapptz <[email protected]> | 2020-12-25 14:21:58 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-12-25 14:21:58 -0500 |
| commit | b778171188f203bc65c764fae9fa0c855da0d87b (patch) | |
| tree | fe27082853a54afe229f5e1cf3a72fa080b55295 /docs | |
| parent | Allow `Guild.create_role` to accept an int as the `colour` parameter. (diff) | |
| download | discord.py-b778171188f203bc65c764fae9fa0c855da0d87b.tar.xz discord.py-b778171188f203bc65c764fae9fa0c855da0d87b.zip | |
Fix 404 in search pages.
Fix #6210
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_templates/layout.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 946cb891..fe02e8ac 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -90,7 +90,7 @@ <option value="{{ pathto(p + '/index')|e }}" {% if pagename is prefixedwith p %}selected{% endif %}>{{ ext }}</option> {%- endfor %} </select> - <form role="search" class="search" action="search.html" method="get"> + <form role="search" class="search" action="{{ pathto('search') }}" method="get"> <div class="search-wrapper"> <input type="search" name="q" placeholder="{{ _('Search documentation') }}" /> <button type="submit"> |