From a508e8b4196d44c384fdc65924607022fdfe1fd2 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 22 Oct 2020 14:21:34 -0700 Subject: html: better --- fatcat_scholar/templates/search.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fatcat_scholar/templates/search.html') diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html index 86355e2..27b1676 100644 --- a/fatcat_scholar/templates/search.html +++ b/fatcat_scholar/templates/search.html @@ -14,6 +14,10 @@ <link rel="canonical" href="{{ lang_prefix }}/search"> {% endblock %} +{% block title %} +{% if query and query.q %}{{ query.q }} - {% endif %}{{ super() }} +{% endblock %} + {% block fullmain %} <!-- these hidden query fields should be *before* any form/button that could override them --> -- cgit v1.2.3