aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_covid19/templates/entity_macros.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-09 18:38:00 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-09 18:38:00 -0700
commit9a883c5699fa144f0ad1619ac8a6d0e7bda0350e (patch)
treecd8e8b54d8d7969bee9eb1f41e5097fb3cdef643 /fatcat_covid19/templates/entity_macros.html
parent56fc5c0d9407c729a221197b539c96a547e1f22e (diff)
downloadfatcat-covid19-9a883c5699fa144f0ad1619ac8a6d0e7bda0350e.tar.gz
fatcat-covid19-9a883c5699fa144f0ad1619ac8a6d0e7bda0350e.zip
SERP: default to publisher DOI, not fatcat landing
Diffstat (limited to 'fatcat_covid19/templates/entity_macros.html')
-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 7450d29..ec8b093 100644
--- a/fatcat_covid19/templates/entity_macros.html
+++ b/fatcat_covid19/templates/entity_macros.html
@@ -12,6 +12,8 @@
<a href="https://pubmed.ncbi.nlm.nih.gov/{{ paper.pmid }}/"
{% elif paper.arxiv_id %}
<a href="https://arxiv.org/abs/{{ paper.arxiv_id }}/"
+ {% elif paper.doi %}
+ <a href="https://doi.org/{{ paper.doi }}"
{% else %}
<a href="https://fatcat.wiki/release/{{ paper.fatcat_ident }}"
{% endif %}