forked from distributedgov/distributedgov.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcategories.html
26 lines (26 loc) · 978 Bytes
/
categories.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
---
layout: default
title: Categories
---
<div class="container">
<div class="row">
<div class="col-md-12">
<div id="archives">
{% for category in site.categories %}
<div class="archive-group">
{% capture category_name %}{{ category | first }}{% endcapture %}
<div id="#{{ category_name | slugize }}"></div>
<h2>{{ category_name | capitalize }}</h3>
<a name="{{ category_name | slugize }}"></a>
{% for post in site.categories[category_name] %}
<article>
<h3><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></h3>
<p class="text-muted">{{ post.date | date: "%B, %-d %Y"}}</p>
</article>
{% endfor %}
</div>
{% endfor %}
</div>
</div>
</div>
</div>