dee1dbe667
And some tweaks as I write the docs
32 lines
1,008 B
HTML
32 lines
1,008 B
HTML
{% extends "index.html" %}
|
|
|
|
{% block title %}{{ super() }} - Documentation {% endblock title %}
|
|
|
|
{% block extra_content_class %}content--reversed{% endblock extra_content_class %}
|
|
|
|
{% block content %}
|
|
{% set section = get_section(path="documentation/_index.md") %}
|
|
<div class="documentation container">
|
|
<aside class="documentation__sidebar">
|
|
<ul>
|
|
{% for subsection in section.subsections %}
|
|
<li>
|
|
{{ subsection.title }}
|
|
<ul>
|
|
{% for page in subsection.pages %}
|
|
<li class="{% if current_path == page.path %}active{% endif %}">
|
|
<a href="{{page.permalink}}">{{page.title}}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</aside>
|
|
<div class="documentation__content">
|
|
{% block doc_content %}
|
|
{% endblock doc_content %}
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|