mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
* cleanup of old files and updates to latest them along with UI/UX improvements Co-authored-by: Alexander Wolfe <alexanderwolfe@Alexanders-MacBook-Air.local> Co-authored-by: Ben Arent <ben@gravitational.com>
20 lines
593 B
HTML
20 lines
593 B
HTML
{% for nav_item in nav %}
|
|
{% if nav_item.title != "hidden" %}
|
|
{% if nav_item.children %}
|
|
{% for nav_item in nav_item.children %}
|
|
{% if nav_item.active%}
|
|
<div id="jump-nav" class="jump-nav" data-margin-top="40">
|
|
<h3>Table of Contents</h3>
|
|
<ul>
|
|
{% for toc_item in page.toc %}
|
|
{% for toc_item in toc_item.children %}
|
|
<li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %} |