generated from amitmerchant1990/reverie
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtag.html
36 lines (31 loc) · 1.01 KB
/
tag.html
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
31
32
33
34
---
layout: page
title: Tag
permalink: /tags/
icon: octicon-tag
isNavItem: true
styles: [tagCloud.css,tags.css]
scripts: [tagCloud.js,tags.js]
---
<div class="tagCloud">
{% for tag in site.tags %}
<a href="#{{ tag | first }}">{{ tag | first }}</a>
{% endfor %}
</div>
<div>
<ul class="tag-box inline">
{% for tag in site.tags %}
<li><a href="#{{ tag | first }}">{{ tag | first }}<span>{{ tag | last | size }}</span></a></li>
{% endfor %}
</ul>
</div>
<div>
{% for tag in site.tags %}
<h2 id="{{ tag | first }}">{{ tag | first }}</h2>
<ul>
{% for posts in tag %}{% for post in posts %}{% if post.title != null %}
<li itemscope><span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date_to_string }}</time></span> » <a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">{{ post.title }}</a></li>
{% endif %}{% endfor %}{% endfor %}
</ul>
{% endfor %}
</div>