Created
November 23, 2011 15:14
-
-
Save byroncorrales/1388928 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% 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">× ' ~ | |
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