-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsitemap.html
34 lines (32 loc) · 1.28 KB
/
sitemap.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: layout.liquid
title: Sitemap
description: Overview of all pages
page-id: sitemap
---
<section id="sitemap" class="section">
<div class="py-4 px-2 px-sm-4">
<div class="section-heading mb-4">
<div class="grid grid-g3">
{% for nav-item in nav %}
<div class="g-col-12 g-col-md-6 g-col-lg-4 g-col-hd-3 g-col-hd-3 g-col-fhd-3">
<div class="card">
<div class="card-header">
<h2 class="card-title h5 mb-0 mt-2">
{{ nav-item.label }}
</h2>
</div>
<div class="list-group list-group-flush">
{%- assign sortedItems = nav-item.children | sort: 'id' -%}
{% for nav-child in sortedItems %}
<a href="../{% if nav-item.id != 'home'%}{{ nav-item.id }}/{% endif %}#{{ nav-child.id }}"
class="list-group-item list-group-item-action py-3">{{ nav-child.label }}</a>
{% endfor %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</section>