aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search_macros.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-21 12:58:33 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-21 12:58:37 -0800
commita10f4c93f74b26781fe170f0f117cd506149e738 (patch)
tree6861630738ef978a3b89120ce4d29d6cb33e9c24 /fatcat_scholar/templates/search_macros.html
parent1cd50049945a0d3f27e376fc137ad82b09ea18ab (diff)
downloadfatcat-scholar-a10f4c93f74b26781fe170f0f117cd506149e738.tar.gz
fatcat-scholar-a10f4c93f74b26781fe170f0f117cd506149e738.zip
add permalink icon/link
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r--fatcat_scholar/templates/search_macros.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index ca6d9f5..3ef5174 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -488,6 +488,12 @@
</button>
</a>
+ <a href="{{ lang_prefix }}/search?q=key:{{ paper.key }}" rel="noopener" title="{{ _('permalink') }}">
+ <button class="circular ui icon compact basic button" aria-label="">
+ <i class="linkify icon"></i>
+ </button>
+ </a>
+
</div>
</div>