{% load i18n cms_tags extra_tags thumbnail %} {% comment %}Obviously, the context template variable "category" is required and must be a Category page extension{% endcomment %} {% with category_page=category.extended_object %} {% if variant == "tag" %} {% get_placeholder_plugins "icon" category_page as icon_plugins %} {% if icon_plugins %} {% blockplugin icon_plugins.0 %}
{{ category_page.get_title }}
{% endblockplugin %} {% else %}
{{ category_page.get_title }}
{% endif %}
{% elif variant == "mark" %} {% get_placeholder_plugins "icon" category_page as icon_plugins %} {% blockplugin icon_plugins.0 %} {{ category_page.get_title }} {% endblockplugin %} {% else %}
{{ category_page.get_title }}
{% endif %} {% endwith %}