+++ /dev/null
- <div class="span3">
- <div class="affix-top">
- <div class="well sidebar-nav">
- {% if page.navsection == 'userguide' or page.navsection == 'api' or page.navsection == 'sdk' %}
- <ol class="nav nav-list">
- {% for menu_item in site.navbar[page.navsection] %}
- <li><span class="nav-header">{{ menu_item }}</span>
- <ol class="nav nav-list">
- {% for navorder in (0..99) %}
- {% for p in site.pages %}
- {% if p.navsection == page.navsection and p.navmenu == menu_item and p.navorder == navorder %}
- <li {% if p.url == page.url %} class="active activesubnav" {% elsif p.title == page.subnavsection %} class="activesubnav" {% endif %}><a href="{{ site.baseurl }}{{ p.url }}">{{ p.title }}</a></li>
- {% endif %}{% endfor %}{% endfor %}
- </ol>
- </li>
- {% endfor %}
- </ol>
- {% else %}
- <ol class="nav nav-list">
- {% for navorder in (0..99) %}{% for p in site.pages %}{% if p.navsection == page.navsection and p.navorder == navorder %}
- <li {% if p.url == page.url %} class="active activesubnav" {% elsif p.title == page.subnavsection %} class="activesubnav" {% endif %}><a href="{{ site.baseurl }}{{ p.url }}">{{ p.title }}</a></li>
- {% endif %}{% endfor %}{% endfor %}
- </ol>
- {% endif %}
- </div>
- </div>
- </div>