summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-08-12 16:29:36 -0700
committerBryan Newbold <bnewbold@archive.org>2021-08-12 16:29:36 -0700
commite9b4e93a100f1c88ccdc0889d4ac560152572bc7 (patch)
tree0605fc278375b98d9930c1b1bb58d881291bfa40
parent2f7cf027523f092c7f27eb8fb5b8de54b49e5205 (diff)
downloadfatcat-scholar-e9b4e93a100f1c88ccdc0889d4ac560152572bc7.tar.gz
fatcat-scholar-e9b4e93a100f1c88ccdc0889d4ac560152572bc7.zip
web: clear goatcounter title for fulltext links
-rw-r--r--fatcat_scholar/templates/search_macros.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index ce50243..f518fcd 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -65,7 +65,7 @@
{% if other_version %}
{% set access_alt = access_alt + " [" + other_version + "]" %}
{% endif %}
- <a target="_blank" rel="noopener" href="{{ access.access_url}}" title="{{ access_alt }}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="serp-fulltext"{% endif %}>
+ <a target="_blank" rel="noopener" href="{{ access.access_url}}" title="{{ access_alt }}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"{% endif %}>
<button class="ui simple right pointing dropdown compact black labeled icon button serp-button">
<i class="icon ia-icon"></i>
{% if access.access_type == "wayback" %}
@@ -240,7 +240,7 @@
<div class="ui items">
<div class="item">
<div class="image">
- <a target="_blank" rel="noopener" href="{{ paper.fulltext.access_url }}" title="{{ _('fulltext access') }}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="serp-fulltext"{% endif %}>
+ <a target="_blank" rel="noopener" href="{{ paper.fulltext.access_url }}" title="{{ _('fulltext access') }}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"{% endif %}>
{% if paper.fulltext.thumbnail_url %}
<div class="ui serp card">
<img class="ui" src="{{ paper.fulltext.thumbnail_url }}" alt="fulltext thumbnail" loading="lazy">
@@ -254,7 +254,7 @@
</div>
<div class="content">
<div class="header">
- <a rel="noopener" href="{{ paper.fulltext.access_url }}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="serp-fulltext"{% endif %}>
+ <a rel="noopener" href="{{ paper.fulltext.access_url }}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"{% endif %}>
{% if paper.fulltext.access_type == "wayback" %}
{% trans %}Web Archive Capture{% endtrans %}
{% elif paper.fulltext.access_type == "ia_file" %}
@@ -277,7 +277,7 @@
</a>
</div>
<div class="meta">
- <a rel="noopener" href="{{ paper.fulltext.access_url}}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="serp-fulltext"{% endif %}>
+ <a rel="noopener" href="{{ paper.fulltext.access_url}}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"{% endif %}>
{{ paper.fulltext.access_url }}
</a>
</div>