The web design and pages for my personal website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
999 B

  1. {# Custom category list for kirsle.net <ul>-based design #}
  2. {% for tag in tags %}
  3. {% if not tag["small"] %}
  4. <ul>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
  5. <small>({{ tag['count'] }})</small></ul>
  6. {% endif %}
  7. {% endfor %}
  8. {% if has_small %}
  9. </ul><!-- end list from layout.html -->
  10. <div id="blog_show_more" style="display: none">
  11. <ul>
  12. {% for tag in tags %}
  13. {% if tag["small"] %}
  14. &#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
  15. <small>({{ tag['count'] }})</small><br>
  16. {% endif %}
  17. {% endfor %}
  18. </ul>
  19. </div>
  20. <div id="blog_show_less" style="display: block">
  21. <ul>
  22. <li>&#0164; <a href="#" onClick="$('#blog_show_less').hide(); $('#blog_show_more').show(1000); return false">Show more...</a></li>
  23. </ul>
  24. </div>
  25. {% endif %}