MkDocs configuration and content for info/
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.

14 lines
422 B

  1. {% if not nav_item.children %}
  2. <li {% if nav_item.active %}class="active"{% endif %}>
  3. <a href="{{ nav_item.url|url }}">{{ nav_item.title }}</a>
  4. </li>
  5. {% else %}
  6. <li class="dropdown-submenu">
  7. <a tabindex="-1" href="">{{ nav_item.title }}</a>
  8. <ul class="dropdown-menu">
  9. {% for nav_item in nav_item.children %}
  10. {% include "nav-sub.html" %}
  11. {% endfor %}
  12. </ul>
  13. </li>
  14. {% endif %}