-
Notifications
You must be signed in to change notification settings - Fork 0
/
categories.html
33 lines (31 loc) · 1.02 KB
/
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
---
layout: default
title: Categories
keywords: Categories
---
<div class="article">
<h3 class="title">{{ page.title }}</h3>
<ul class="categories">
{% assign categories_list = site.categories %}
{% for category in categories_list %}
<li class="categories-item"><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category[0] }}-ref">
{{ category[0] | join: "/" }}
</a></li>
{% endfor %}
</ul>
<div class="article">
{% for category in site.categories %}
<h2 class="article-year" id="{{ category[0] }}-ref" data-year="♦">{{ category[0] | join: "/" }}</h2>
<ul style="list-style: none">
{% assign pages_list = category[1] %}
{% for node in pages_list %}
{% if node.title != null %}
{% if group == null or group == node.group %}
<li style="background:#F2EEEC; padding:5px; margin:3px 0"><a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a></li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
{% endfor %}
</div>
</div>