Commit e82b3add authored by Administrator's avatar Administrator 💬

feat: move lessons ToC to the bottom of the page

parent 1b32883e
......@@ -60,6 +60,7 @@
{# </section>#}
{% block header_language_selection_section %}
{% if not disable_language_selector %}
<section class="navbar-section">
<div>{# Wrapper div to make centering vertically easy #}
{% block header_language_selection %}
......@@ -67,6 +68,7 @@
{% endblock %}
</div>
</section>
{% endif %}
{% endblock %}
</nav>
</section>
......@@ -119,6 +121,9 @@
{# {{ page.header|var_dump }}#}
{# </pre>#}
{% block content %}{% endblock %}
{% if page.header %}
{% if page.header.lessons %}
<nav>
......@@ -129,7 +134,7 @@
<a href="/{{ language_selector.current }}/lessons/{{ lesson.slug }}">
{{ lesson.slug }}
</a>
{# {{ lesson.slug }}#}
{# {{ lesson.slug }}#}
</li>
{% endfor %}
</ul>
......@@ -137,7 +142,6 @@
{% endif %}
{% endif %}
{% block content %}{% endblock %}
</section>
</section>
{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment