Skip to content

Instantly share code, notes, and snippets.

@byroncorrales
Created November 23, 2011 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save byroncorrales/1388928 to your computer and use it in GitHub Desktop.
Save byroncorrales/1388928 to your computer and use it in GitHub Desktop.
{% 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