-
Notifications
You must be signed in to change notification settings - Fork 75
/
plan-site.html
40 lines (39 loc) · 1.05 KB
/
plan-site.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
37
38
39
40
---
layout: default
section_id: plan-site
---
<div class='full'>
<div class='row'>
<h2>Plan du site</h2>
<div class='medium-8 columns mt-1'>
<div class='two spacing'></div>
<ul>
{% for item in site.data.nav %}
{% if item.section_id == page.section_id %}
{% assign active_class = "active" %}
{% else %}
{% assign active_class = "" %}
{% endif %}
{% if forloop.last %}
{% assign active_class = "lastmenu" %}
{% endif %}
{% if item.children %}
<li>{{ item.name }}
<ul>
{% for child in item.children %}
<li>
<a href="{{site.url}}/{{ child.path }}">{{ child.name }}</a></li>
{% endfor %}
</ul>
</li>
{% else %}
<li>
<a href="{{site.url}}/{{ item.path }}">{{ item.name }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
<div class='four spacing'></div>