aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-22 14:21:34 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-22 14:21:34 -0700
commita508e8b4196d44c384fdc65924607022fdfe1fd2 (patch)
tree37611f9bb95314f21e954a6ea79f109a51fc4719 /fatcat_scholar/templates/search.html
parentf931c67c3f0f51f352961db1c37af5998a332792 (diff)
downloadfatcat-scholar-a508e8b4196d44c384fdc65924607022fdfe1fd2.tar.gz
fatcat-scholar-a508e8b4196d44c384fdc65924607022fdfe1fd2.zip
html: better <title>
Diffstat (limited to 'fatcat_scholar/templates/search.html')
-rw-r--r--fatcat_scholar/templates/search.html4
1 files changed, 4 insertions, 0 deletions
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 -->