Create a gist now

Instantly share code, notes, and snippets.

{% cache 0 "tags" tags search_tags scope sort query context.page context.page_size language_code %}
<div class="box">
<h2>{% trans %}Related tags{% endtrans %}</h2>
{% if tag_list_type == 'list' %}
<ul id="related-tags" class="tags">
{% for tag in tags %}
<li>
{{ macros.tag_widget(
tag.name|truncatechars:9,
html_tag = 'div',
extra_content = '<span class="tag-number">&#215; ' ~
tag.local_used_count|intcomma ~ '</span>'
)}}
</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment