{% extends "base.html" %} {% block content %}
{% if not current_user.is_following_yt(channel.id) %}

{{ btform.hidden_tag() }} {{ btform.submit(value='Follow') }}

{% else %}

{{ btform.hidden_tag() }} {{ btform.submit(value='Unfollow') }}

{% endif %}


{% if not videos %} {% include '_empty_feed.html' %} {% else %}
{% for video in videos %} {% include '_video_item.html' %} {% endfor %}
{% endif %} {% endblock %}