{% from 'macros/base.html' import api_button %} {% macro carousal(videos) -%} {% set thumb_num = [videos | length, 3] | min %}
{%- endmacro %} {% macro info(channel, subscription, current_user) -%}{{ channel.id }}
{{ channel.infos.snippet.description }}
{{ tags(subscription.tags, channel) }} {% if current_user.is_subscribing(channel) %} {{ unsubscribe_button(channel) }} {% else %} {% endif %}{{ channel.infos.snippet.customUrl }}
{%- endmacro %} {% macro unsubscribe_button(channel) -%} {%- endmacro %} {% macro tags(tags, channel) -%} {%- endmacro %}