-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.html
32 lines (31 loc) · 910 Bytes
/
archive.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
---
layout: page
title: "Post Archive"
permalink: /archive.html
---
<div>
Search through all of my posts by tag!
</div> </br>
<div id="tags-list">
{% for tag in site.tags %}
{% assign tag_name = tag | first %}
{% assign tag_name_pretty = tag_name | replace: "_", " " | capitalize %}
<div class="tag-list">
<div id="#{{ tag_name | slugize }}"></div>
<h3 class="post-list-heading line-bottom"> In #{{ tag_name }}: </h3>
<a name="{{ tag_name | slugize }}"></a>
<ul class="post-list post-list-narrow">
{% for post in site.tags[tag_name] %}
<li>
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<b>
<a href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</b> - <i>{{ post.date | date: date_format }}</i>
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>