{% import "macros.html" as macros %} {% include "tags/header.html" %} {% if tag_list_type == 'list' %} {% if not tags.object_list %} {% include "tags/no_tags.html" %} {% endif %} {% if tags.object_list %} {{ macros.paginator(paginator_context) }} {% endif %} {% else %} {% if not tags %} {% include "tags/no_tags.html" %} {% endif %} {{ macros.tag_cloud(tags=tags, font_sizes=font_size, search_state=search_state) }} {% endif %}