- Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcategories.html
23 lines (22 loc) · 586 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
---
title: "Categories"
layout: default
permalink: "/categories.html"
---
<divclass="row listrecent">
{% for category in site.categories %}
<divclass="section-title col-md-12 mt-4">
<h2id="{{ category[0] | replace: " ","-" }}">Category <spanclass="text-capitalize">{{ category[0] }}</span></h2>
</div>
{% assign pages_list = category[1] %}
{% for post in pages_list %}
{% if post.title != null %}
{% if group == null or group == post.group %}
{% include postbox.html %}
{% endif %}
{% endif %}
{% endfor %}
{% assign pages_list = nil %}
{% assign group = nil %}
{% endfor %}
</div>