{% if DISPLAY_TAGS_ON_SIDEBAR is not defined %} {% set DISPLAY_TAGS_ON_SIDEBAR = True %} {% endif %} {% if 'tag_cloud' in PLUGINS and DISPLAY_TAGS_ON_SIDEBAR %} {% from 'includes/sidebar/macros.jinja' import title %} {% if DISPLAY_TAGS_INLINE %} {% set tags = tag_cloud | sort(attribute='0') %} {% else %} {% set tags = tag_cloud | sort(attribute='1') %} {% endif %} {##}
  • {{ title(_('Tag Cloud'), DISABLE_SIDEBAR_TITLE_ICONS, icon='tag') }}
    {% for tag in tags %} {##} {{- tag.0 -}} {##} {% endfor %}
  • {% endif %}