diff options
Diffstat (limited to 'youtube/templates/common_elements.html')
-rw-r--r-- | youtube/templates/common_elements.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube/templates/common_elements.html b/youtube/templates/common_elements.html index 49e2fad..b8f5c51 100644 --- a/youtube/templates/common_elements.html +++ b/youtube/templates/common_elements.html @@ -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'] }}"> |