mirror of https://github.com/docker/docs.git
12 lines
508 B
HTML
12 lines
508 B
HTML
{% for section in site.data.toc.horizontalnav %}
|
|
{% assign topicFound="false" %}
|
|
{% assign tree = site.data.toc[section.node] %}
|
|
<!-- path comparison: item.path: {{ item.path }} == page.path: {{ page.url }} -->
|
|
{% capture thisSection %}{% include tree.html %}{% endcapture %}
|
|
{% if section.path == page.url or thisSection contains "active currentPage" %}
|
|
<span id="currentSection" style="display:none;">{{ section.node }}</span>
|
|
{{ thisSection }}
|
|
{% break %}
|
|
{% endif %}
|
|
{% endfor %}
|