Subscriptions: show when video was published

This commit is contained in:
James Taylor
2019-08-16 21:48:40 -07:00
parent e01aa59148
commit 899b088cdc
2 changed files with 41 additions and 16 deletions

View File

@@ -26,7 +26,9 @@
<address>{{ info['author'] }}</address>
<span class="views">{{ info['views'] }}</span>
{% if 'views' is not in(info) and 'published' is in(info) %}
<time>{{ info['published'] }}</time>
{% endif %}
{% elif info['type'] == 'playlist' %}
<a class="playlist-thumbnail-box" href="{{ info['url'] }}" title="{{ info['title'] }}">
<img class="playlist-thumbnail-img" src="{{ info['thumbnail'] }}">