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.

31 lines
1.0KB

  1. {% extends "index.html" %}
  2. {% block extra_nav_class %}{% endblock extra_nav_class %}
  3. {% block extra_content_class %}content--reversed{% endblock extra_content_class %}
  4. {% block content %}
  5. {% set section = get_section(path="documentation/_index.md") %}
  6. <div class="documentation">
  7. <aside class="documentation__sidebar">
  8. <ul>
  9. {% for subsection in section.subsections %}
  10. <li>
  11. <span class="documentation__sidebar__title">{{ subsection.title }}</span>
  12. <ul>
  13. {% for page in subsection.pages %}
  14. <li class="{% if current_path == page.path %}active{% endif %}">
  15. <a href="{{page.permalink}}">{{page.title}}</a>
  16. </li>
  17. {% endfor %}
  18. </ul>
  19. </li>
  20. {% endfor %}
  21. </ul>
  22. </aside>
  23. <div class="documentation__content">
  24. {% block doc_content %}
  25. {% endblock doc_content %}
  26. </div>
  27. </div>
  28. {% endblock content %}