aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/fatcat/templates/release_search.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/fatcat/templates/release_search.html b/python/fatcat/templates/release_search.html
index 1085d263..1f78aaaf 100644
--- a/python/fatcat/templates/release_search.html
+++ b/python/fatcat/templates/release_search.html
@@ -15,7 +15,10 @@
{% if paper.doi %}
DOI: <a href="https://doi.org/{{paper.doi }}" style="color: green;">{{ paper.doi }}</a>
- {{ paper.release_type }}
- - {{ paper.release_date[:4] }}<br>
+ {% if paper.release_date %}
+ - {{ paper.release_date[:4] }}
+ {% endif %}
+ <br>
{% endif %}
{% if paper.container_name %}
{% if paper.container_issnl %}