From 388eeaf4fa137522ec90c96e57581ced33205e57 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 11 Jun 2021 15:13:17 -0700 Subject: update citation_pdf_url HTML meta tag to new access URL style --- fatcat_scholar/templates/work.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fatcat_scholar/templates') diff --git a/fatcat_scholar/templates/work.html b/fatcat_scholar/templates/work.html index 67c87e0..693b1a6 100644 --- a/fatcat_scholar/templates/work.html +++ b/fatcat_scholar/templates/work.html @@ -30,9 +30,9 @@ {% if work.biblio.doi %} {% endif %} -{% if work.fulltext.access_url and work.biblio.release_ident == work.fulltext.release_ident and work.fulltext.access_type in ['wayback', 'ia_file'] and work.fulltext.file_mimetype in ["application/pdf", None] and work.fulltext.file_sha1 %} +{% if work.work_ident and work.fulltext.access_url and work.biblio.release_ident == work.fulltext.release_ident and work.fulltext.access_type in ['wayback', 'ia_file'] and work.fulltext.file_mimetype in ["application/pdf", None] and work.fulltext.file_sha1 %} - + {% endif %} -- cgit v1.2.3