kirsle.net/www/blog/categories.inc.html

29 lines
918 B
HTML
Raw Normal View History

{# Custom category list for kirsle.net <ul>-based design #}
2017-03-23 22:55:51 +00:00
<ul>
<li>&#0187; <a href="{{ url_for('blog.archive') }}">Blog Archives</a></li>
{% for tag in tags %}
2015-08-12 00:18:25 +00:00
{% if not tag["small"] %}
<li>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small></li>
{% endif %}
{% endfor %}
2017-03-23 22:55:51 +00:00
</ul>
{% if has_small %}
2015-08-12 00:18:25 +00:00
<div id="blog_show_more" style="display: none">
<ul>
{% for tag in tags %}
{% if tag["small"] %}
<li>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small></li>
{% endif %}
{% endfor %}
</ul>
</div>
<div id="blog_show_less" style="display: block">
<ul>
<li>&#0164; <a href="#" onClick="$('#blog_show_less').hide(); $('#blog_show_more').show(1000); return false">Show more...</a></li>
</ul>
</div>
2014-10-16 17:35:22 +00:00
{% endif %}