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 5b72063..1b4b08c 100644 --- a/youtube/templates/common_elements.html +++ b/youtube/templates/common_elements.html @@ -58,7 +58,9 @@ <div class="stats {{'horizontal-stats' if horizontal else 'vertical-stats'}}"> {% if info['type'] == 'channel' %} - <div>{{ info['approx_subscriber_count'] }} subscribers</div> + {% if info.get('approx_subscriber_count') %} + <div>{{ info['approx_subscriber_count'] }} subscribers</div> + {% endif %} <div>{{ info['video_count']|commatize }} videos</div> {% else %} {% if info.get('time_published') %} |
