aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-04 13:42:51 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-04 13:42:51 -0700
commit70c514e4351fb829e7c42a11f31d10f4034a9ffe (patch)
tree2b897347133ef11922bebe4ca11b15eff8c55348
parentf49aaa16bc1cda7d49153c0859a046ae1481c72e (diff)
downloadfatcat-scholar-70c514e4351fb829e7c42a11f31d10f4034a9ffe.tar.gz
fatcat-scholar-70c514e4351fb829e7c42a11f31d10f4034a9ffe.zip
fix fatcat container links
-rw-r--r--fatcat_scholar/templates/search_macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index c6e6d16..e79b64e 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -82,8 +82,8 @@
{% endif %}
{% if paper.biblio.container_name %}
<i>
- {% if paper.biblio.container_id %}
- <a target="_blank" href="https://fatcat.wiki/container/{{ paper.biblio.container_id }}" style="color: black;">{{ paper.biblio.container_name }}</a>
+ {% if paper.biblio.container_ident %}
+ <a target="_blank" href="https://fatcat.wiki/container/{{ paper.biblio.container_ident }}" style="color: black;">{{ paper.biblio.container_name }}</a>
{% elif paper.doc_type == "sim_page" %}
<a target="_blank" href="https://archive.org/details/{{ paper.ia_sim.pub_collection }}" style="color: black;">{{ paper.biblio.container_name }}</a>
{% else %}