-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcategories.html
More file actions
35 lines (27 loc) · 783 Bytes
/
categories.html
File metadata and controls
35 lines (27 loc) · 783 Bytes
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
---
layout: page
title: Categories
header: Posts By Category
group: navigation
---
{% include JB/setup %}
<ul class="tag-box inline" role="tablist">
<li><span class="glyphicon glyphicon-tag"></span></li>
{% assign categories_list = site.categories %}
{% include JB/categories_list %}
</ul>
<!-- Tab panes -->
<div class="tab-content">
{% for category in site.categories %}
{% if categories_list.first[0] %}
<div class="tab-pane active" id="{{ category[0] }}-ref">
{% endif %}
<div class="tab-pane" id="{{ category[0] }}-ref">
<h2 >{{ category[0] | join: "/" }}</h2>
<ul>
{% assign pages_list = category[1] %}
{% include JB/pages_list %}
</ul>
</div>
{% endfor %}
</div>