mirror of
https://github.com/kirsle/kirsle.net
synced 2024-12-23 07:29:28 +00:00
29 lines
918 B
HTML
29 lines
918 B
HTML
{# Custom category list for kirsle.net <ul>-based design #}
|
|
<ul>
|
|
<li>» <a href="{{ url_for('blog.archive') }}">Blog Archives</a></li>
|
|
{% for tag in tags %}
|
|
{% if not tag["small"] %}
|
|
<li>» <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
|
|
<small>({{ tag['count'] }})</small></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% if has_small %}
|
|
<div id="blog_show_more" style="display: none">
|
|
<ul>
|
|
{% for tag in tags %}
|
|
{% if tag["small"] %}
|
|
<li>» <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>¤ <a href="#" onClick="$('#blog_show_less').hide(); $('#blog_show_more').show(1000); return false">Show more...</a></li>
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|