diff options
Diffstat (limited to 'fatcat_covid19/templates')
-rw-r--r-- | fatcat_covid19/templates/base.html | 2 |
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> |