summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-22 14:02:47 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-22 14:05:28 -0700
commit979bd469d62ffb0ad53391a31aa789978ce1d6b8 (patch)
tree1f05d73690c5ec8fb1f6b0d361b4af9fe8379b51 /fatcat_scholar/templates/search.html
parentaaa96e932fb365026a6c7646aabc98a95f48319e (diff)
downloadfatcat-scholar-979bd469d62ffb0ad53391a31aa789978ce1d6b8.tar.gz
fatcat-scholar-979bd469d62ffb0ad53391a31aa789978ce1d6b8.zip
integrate goatcounter JS (analytics)
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 -->