{% extends "base.html" %} {% block content %}
{{video.title}}
{%if video.author.__len__() > 8%}
{{video.author[0:10]+'...'}} {%else%}
{{video.author}} {%endif%}
{{video.viewCount}}
{% if video.averageRating | int > 49 %}
{{video.averageRating[0:4]}}%
{% else %}
{{video.averageRating[0:4]}}%
{% endif %}
{{video.description}}
{% endblock %}