diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-22 14:02:47 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-22 14:05:28 -0700 |
commit | 979bd469d62ffb0ad53391a31aa789978ce1d6b8 (patch) | |
tree | 1f05d73690c5ec8fb1f6b0d361b4af9fe8379b51 /fatcat_scholar/templates/search.html | |
parent | aaa96e932fb365026a6c7646aabc98a95f48319e (diff) | |
download | fatcat-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.html | 5 |
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 --> |