forked from jmcglone/jmcglone.github.io
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathcategories.html
More file actions
23 lines (22 loc) · 682 Bytes
/
categories.html
File metadata and controls
23 lines (22 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
layout: default
permalink: /categories/
title: Categories
---
<div id="archives" class="archive-header">
<h2>Categories:</h2><br>
{% for category in site.categories %}
<div class="archive-group">
{% capture category_name %}{{ category | first }}{% endcapture %}
<div id="#{{ category_name | slugize }}"></div>
<u>{{ category_name }}:</u>
<a name="{{ category_name | slugize }}"></a>
{% for post in site.categories[category_name] %}
<article class="archive-item">
<span>{{ post.date | date_to_string }} » </span><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a>
</article>
{% endfor %}
</div>
{% endfor %}
<br>
</div>