You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
<div class="nav-docs">
|
|
<!-- Docs Nav -->
|
|
{% for section in site.nav_docs_sections %}
|
|
<div class="nav-docs-section">
|
|
<h3>{{ section.title }}</h3>
|
|
<ul>
|
|
{% for item in section.items %}
|
|
<li>
|
|
<a href="/react/docs/{{ item.id }}.html"{% if page.id == item.id %} class="active"{% endif %}>
|
|
{{ item.title }}
|
|
</a>
|
|
{% if item.subitems %}
|
|
<ul>
|
|
{% for subitem in item.subitems %}
|
|
<li>
|
|
<a href="/react/docs/{{ subitem.id }}.html"{% if page.id == subitem.id %} class="active"{% endif %}>
|
|
{{ subitem.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<!-- Tips Nav -->
|
|
{% for section in site.nav_tips %}
|
|
<div class="nav-docs-section">
|
|
<h3>{{ section.title }}</h3>
|
|
<ul>
|
|
{% for item in section.items %}
|
|
<li>
|
|
<a href="/react/tips/{{ item.id }}.html"{% if page.id == item.id %} class="active"{% endif %}>{{ item.title }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|