summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar')
-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 63c988d..45a421d 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-button"{% endif %}>
+ <a target="_blank" rel="noopener" href="{{ access.access_url}}" title="{{ access_alt }}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="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') }}">
+ <a target="_blank" rel="noopener" href="{{ paper.fulltext.access_url }}" title="{{ _('fulltext access') }}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="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 }}">
+ <a rel="noopener" href="{{ paper.fulltext.access_url }}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="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}}">
+ <a rel="noopener" href="{{ paper.fulltext.access_url}}" {% if settings.ENABLE_GOATCOUNTER %}data-goatcounter-click="serp-fulltext"{% endif %}>
{{ paper.fulltext.access_url }}
</a>
</div>