<ul class="cats">
	{% for entry in entries %}
		<li>
		{% if (not entry.flags.active) %}
			<a href="{{ entry.link }}">
		{% else %}
			<b>
		{% endif %}
		{{ entry.cat }}
		{% if (not entry.flags.active) %}
			</a>
		{% else %}
			</b>
		{% endif %}
		{% if (entry.flags.counter) %}
			<span class="badge pull-right">{{ entry.counter }}</span>
		{% endif %}
	{% endfor %}
</ul>
