diff options
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 0c366c9..d90af73 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -166,7 +166,7 @@ </div> <div class="three wide left aligned column" style="padding-top: 0.5em; padding-right: 0.5em;"> - {% if paper.fulltext.access_url %} + {% if paper.fulltext and fulltext.access_url %} {% if paper.fulltext.thumbnail_url %} <div class="ui serp card" style="margin-bottom: 0.2em;"> <a class="image" target="_blank" href="{{ paper.fulltext.access_url}}"> |