aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/release_view.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 01769b1b..4d283cbf 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -121,7 +121,9 @@
{% if release.abstracts != [] %}
<h3>Abstract</h3>
<p><span itemprop="description">{{ release.abstracts[0].content }}</span>
- <br><small><i>In <code>{{ release.abstracts[0].mimetype }}</code> format</i></small>
+ {%- if release.abstracts[0].mimetype != None %}
+ <br><small><i>In <code>{{ release.abstracts[0].mimetype }}</code> format</i></small>
+ {% endif %}
{% endif %}
{% if entity.state == 'active' %}