diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-04-09 18:38:00 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-04-09 18:38:00 -0700 |
commit | 9a883c5699fa144f0ad1619ac8a6d0e7bda0350e (patch) | |
tree | cd8e8b54d8d7969bee9eb1f41e5097fb3cdef643 | |
parent | 56fc5c0d9407c729a221197b539c96a547e1f22e (diff) | |
download | fatcat-covid19-9a883c5699fa144f0ad1619ac8a6d0e7bda0350e.tar.gz fatcat-covid19-9a883c5699fa144f0ad1619ac8a6d0e7bda0350e.zip |
SERP: default to publisher DOI, not fatcat landing
-rw-r--r-- | fatcat_covid19/templates/entity_macros.html | 2 |
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 %} |