-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtags.html
More file actions
30 lines (28 loc) · 832 Bytes
/
tags.html
File metadata and controls
30 lines (28 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
layout: page
title: Tags
permalink: /tags/
---
<h5>Tag cloud <i class="fa fa-cloud info-text-color"></i></h5>
<ul class="tag-cloud">
{% for tag in site.tags %}
<li style="font-size: {{ tag | last | size | times: 100 | divided_by: site.tags.size | plus: 70 }}%">
<a class="post-tag" href="#{{ tag | first | slugize }}">
{{ tag | first }}
</a>
</li>
{% endfor %}
</ul>
<div class="tag-list">
{% for tag in site.tags %}
<div class="tag-group">
{% capture tag_name %}{{ tag | first }}{% endcapture %}
<h5 class="tag-group-title" id="{{ tag_name | slugize }}">{{ tag_name }}</h5>
{% for post in site.tags[tag_name] %}
<article class="tag-item">
<a class="tag-item-title" href="{{ site.url }}{{ post.url }}">{{post.title}}</a>
</article>
{% endfor %}
</div>
{% endfor %}
</div>