aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_covid19/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-09 18:37:15 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-09 18:37:15 -0700
commit56fc5c0d9407c729a221197b539c96a547e1f22e (patch)
tree450b112f0f2b7ce7e5081563845dfe1cb78d48a0 /fatcat_covid19/templates
parentf8ad6b272900518f48b69ea03f2c0906aae56fb5 (diff)
downloadfatcat-covid19-56fc5c0d9407c729a221197b539c96a547e1f22e.tar.gz
fatcat-covid19-56fc5c0d9407c729a221197b539c96a547e1f22e.zip
direct-link to arxiv papers
Diffstat (limited to 'fatcat_covid19/templates')
-rw-r--r--fatcat_covid19/templates/entity_macros.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/fatcat_covid19/templates/entity_macros.html b/fatcat_covid19/templates/entity_macros.html
index 7be51ad..7450d29 100644
--- a/fatcat_covid19/templates/entity_macros.html
+++ b/fatcat_covid19/templates/entity_macros.html
@@ -10,6 +10,8 @@
<a href="https://www.ncbi.nlm.nih.gov/pmc/articles/{{ paper.pmcid }}/"
{% elif paper.pmid %}
<a href="https://pubmed.ncbi.nlm.nih.gov/{{ paper.pmid }}/"
+ {% elif paper.arxiv_id %}
+ <a href="https://arxiv.org/abs/{{ paper.arxiv_id }}/"
{% else %}
<a href="https://fatcat.wiki/release/{{ paper.fatcat_ident }}"
{% endif %}