Optional TOC sidebar (fixes #107)
This commit is contained in:
@ -15,6 +15,13 @@
|
||||
{%- if config.extra.nav.links %}
|
||||
{% include "partials/nav.html" %}
|
||||
{%- endif %}
|
||||
{%- if page.extra.toc_sidebar or section.extra.toc_sidebar -%}
|
||||
<div id="sidebar">
|
||||
<div>
|
||||
{%- include "partials/toc.html" -%}
|
||||
</div>
|
||||
</div>
|
||||
{%- endif -%}
|
||||
<main id="main-content">
|
||||
{% block custom %}{% endblock custom %}
|
||||
{% block content %}{% endblock content %}
|
||||
|
Reference in New Issue
Block a user