-
Notifications
You must be signed in to change notification settings - Fork 53
/
categories.html
36 lines (28 loc) · 943 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
27
28
29
30
31
32
33
34
35
36
---
title: "Categories"
layout: default
permalink: "/categories.html"
---
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<h1 class="font-weight-bold title h6 text-uppercase mb-4">Categories</h1>
{% for category in site.categories %}
<h4 class="font-weight-bold spanborder text-capitalize" id="{{ category[0] | downcase }}"><span>{{ category[0] }}</span></h4>
{% assign pages_list = category[1] %}
{% for post in pages_list %}
{% if post.title != null %}
{% if group == null or group == post.group %}
{% include main-loop-card.html %}
{% endif %}
{% endif %}
{% endfor %}
{% assign pages_list = nil %}
{% assign group = nil %}
{% endfor %}
</div>
<div class="col-md-4">
{% include sidebar-featured.html %}
</div>
</div>
</div>