Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (27 sloc) 797 Bytes
---
layout: default
title: Tags
---
<section class="tags post">
<div id="tags" class="body">
<table>
<thead>
<tr>
<th>Tag</th>
<th># of Posts</th>
</tr>
</thead>
<tbody>
{% capture tagString %}{% for tag in site.tags %}{{ tag[1].size | minus: 1000000 }}#{{ tag[0] }}#{{ tag[1].size }}{% unless forloop.last %}|{% endunless %}{% endfor %}{% endcapture %}
{% assign tags = tagString | split: '|' | sort %}
{% for tag in tags %}
{% assign tagParts = tag | split: '#' %}
<tr>
<td><a href="/tag/{{ tagParts[1] | downcase | replace: ' ', '-' }}">{{ tagParts[1] }}</a></td>
<td>{{ tagParts[2] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</section>
You can’t perform that action at this time.