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.

30 lines
980B

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