diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-20 15:01:38 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-20 15:01:38 -0700 |
commit | 41aa0edaf826cd6561b4b12d1040d403db51e4ea (patch) | |
tree | 46c049f0cab5ae3d259787939f53c42fbcba0601 /fatcat_scholar/templates/search_macros.html | |
parent | e567b1fe1b970d442994702f82013cec1429f259 (diff) | |
download | fatcat-scholar-41aa0edaf826cd6561b4b12d1040d403db51e4ea.tar.gz fatcat-scholar-41aa0edaf826cd6561b4b12d1040d403db51e4ea.zip |
html: add <a> rel tags where appropriate
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index c7c0eb4..66dd975 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -130,19 +130,19 @@ {# ### IDENTIFIERS #} {% if paper.biblio.doi %} - <a target="_blank" rel="noopener noreferrer" href="https://doi.org/{{paper.biblio.doi }}" style="color: green;">doi:{{ paper.biblio.doi }}</a> + <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/{{paper.biblio.doi }}" style="color: green;">doi:{{ paper.biblio.doi }}</a> {% endif %} {% if paper.biblio.pmid %} - <a target="_blank" rel="noopener" href="https://www.ncbi.nlm.nih.gov/pubmed/{{paper.biblio.pmid }}" style="color: green;">pmid:{{ paper.biblio.pmid }}</a> + <a target="_blank" rel="external noopener" href="https://www.ncbi.nlm.nih.gov/pubmed/{{paper.biblio.pmid }}" style="color: green;">pmid:{{ paper.biblio.pmid }}</a> {% endif %} {% if paper.biblio.pmcid %} - <a target="_blank" rel="noopener" href="https://pubmed.ncbi.nlm.nih.gov/{{paper.biblio.pmcid }}/" style="color: green;">pmcid:{{ paper.biblio.pmcid }}</a> + <a target="_blank" rel="external noopener" href="https://pubmed.ncbi.nlm.nih.gov/{{paper.biblio.pmcid }}/" style="color: green;">pmcid:{{ paper.biblio.pmcid }}</a> {% endif %} {% if paper.biblio.arxiv_id %} - <a target="_blank" rel="noopener" href="https://arxiv.org/abs/{{paper.biblio.arxiv_id }}" style="color: green;">arXiv:{{ paper.biblio.arxiv_id }}</a> + <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/{{paper.biblio.arxiv_id }}" style="color: green;">arXiv:{{ paper.biblio.arxiv_id }}</a> {% endif %} {% if paper.biblio.release_ident %} - <a target="_blank" rel="noopener" href="https://fatcat.wiki/release/{{paper.biblio.release_ident}}" style="color: green;">fatcat:{{ paper.biblio.release_ident}}</a> + <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/{{paper.biblio.release_ident}}" style="color: green;">fatcat:{{ paper.biblio.release_ident}}</a> {% endif %} <div style="margin-top: 0.2em;"> |