aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search.html
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/templates/search.html')
-rw-r--r--fatcat_scholar/templates/search.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html
index 35ecfa5..86355e2 100644
--- a/fatcat_scholar/templates/search.html
+++ b/fatcat_scholar/templates/search.html
@@ -9,6 +9,11 @@
{% endif %}
{%- endmacro %}
+{% block extra_head %}
+{# among other things, this prevents query parameters from ending up in goatcounter #}
+<link rel="canonical" href="{{ lang_prefix }}/search">
+{% endblock %}
+
{% block fullmain %}
<!-- these hidden query fields should be *before* any form/button that could override them -->