common_elements.html: accept missing description as blank

This commit is contained in:
James Taylor 2019-07-04 18:20:51 -07:00
parent d105d4520f
commit 315039bebd

View File

@ -78,7 +78,7 @@
{{ get_stats(info) }}
</div>
<span class="description">{{ text_runs(info['description']) }}</span>
<span class="description">{{ text_runs(info.get('description', '')) }}</span>
<span class="badges">{{ info['badges']|join(' | ') }}</span>
{% elif info['type'] == 'playlist' %}
<a class="playlist-thumbnail-box" href="{{ info['url'] }}" title="{{ info['title'] }}">