forked from JetBrains/kotlin-web-site
-
Notifications
You must be signed in to change notification settings - Fork 18
/
foundation.html
36 lines (32 loc) · 1.41 KB
/
foundation.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
{% extends 'base.html' %}
{% block content %}
<div class="g-grid">
<aside class="g-3">
<div class="js-side-tree-nav">
{% for data in nav.foundation.content %}
<div class="tree-item tree-leaf js-item js-leaf {{ data.class }}">
{% if data.is_active %}
<div class="tree-item-title tree-leaf-title js-item-title js-leaf-title is_active {{ data.title_class }}">
<div class="marker"></div>
<div class="text">{{ data.title }}</div>
</div>
{% else %}
<a href="{{ data.url }}"
class="tree-item-title tree-leaf-title js-item-title js-leaf-title {{ data.title_class }}"
{% if data.title_arguments %}{{ print_arguments(data.title_arguments) }}{% endif %}
>
<span class="marker"></span>
<span class="text">{{ data.title }}</span>
</a>
{% endif %}
</div>
{% endfor %}
</div>
</aside>
<article role="main" class="page-content g-9">
{% block page_content %}
{{ page.html | safe }}
{% endblock %}
</article>
</div>
{% endblock %}