aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_covid19/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_covid19/templates/base.html')
-rw-r--r--fatcat_covid19/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_covid19/templates/base.html b/fatcat_covid19/templates/base.html
index 37c5cab..5d57a89 100644
--- a/fatcat_covid19/templates/base.html
+++ b/fatcat_covid19/templates/base.html
@@ -50,7 +50,7 @@
<i class="dropdown icon" style="margin-left: 0.2em;"></i>
<div class="menu">
{% for lang_code, lang_name in config.SUPPORTED_LANGUAGES.items() %}
- <a class="item" href="{{ url_for(request.endpoint, lang_code=lang_code) }}">{{ lang_name }}</a>
+ <a class="item" href="{{ url_for(request.endpoint or "search.page_home", lang_code=lang_code) }}">{{ lang_name }}</a>
{% endfor %}
</div>
</div>