Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (22 sloc) 0.621 kb
7707ef2e »
2012-01-16 Updating posts, layouts
1 ---
2 layout: default
3 ---
4 <div class="tag-cloud">
5 <h1>Popular tags</h1>
6 <ol>
7 {% for tag in site.tags %}
8 {% assign taglist = tag[1] %}
9 {% case taglist.size %}
10 {% when 1 %}
11 {% assign class="not-popular" %}
12 {% when 2 %}
13 {% assign class="popular" %}
14 {% when 3..9 %}
15 {% assign class="very-popular" %}
16 {% else %}
17 {% assign class="ultra-popular" %}
18 {% endcase %}
19 <li class="{{ class }}"><a href="{{ site.tag_root }}/{{ tag[0] | cgi_escape }}/" title="View entries tagged '{{ tag[0] }}'">{{ tag[0] }}</a></li>
20 {% endfor %}
21 </ol>
22 </div>
Something went wrong with that request. Please try again.