-
Notifications
You must be signed in to change notification settings - Fork 2
/
category.html
34 lines (25 loc) · 991 Bytes
/
category.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: news
title: Categories
permalink: /category/
---
<div class="container mtb">
<div class="row">
<div class="col-lg-8">
{% for category in site.categories %}
<a class="anchor" id="{{ category.first }}"></a><h4>{{ category.first }}</h4>
<div class="hline"></div>
<ul class="popular-posts">
{% for post in site.categories[category.first] %}
<li>
<a href="{{ post.url | prepend: site.baseurl }}">
<p><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></p>
<em>Posted on {{ post.date | date_to_string }}</em>
</li>
{% endfor %}
</ul>
{% endfor %}
</div><! --/col-lg-8 -->
{% include sidebar.html %}
</div><! --/row -->
</div><! --/container -->