Condifitionally render table of contents on the left sidebar
This commit is contained in:
parent
7a1a50e677
commit
89af94dbf8
|
@ -49,9 +49,11 @@
|
||||||
<navbar></navbar>
|
<navbar></navbar>
|
||||||
{% endrenderTemplate %}
|
{% endrenderTemplate %}
|
||||||
<main>
|
<main>
|
||||||
<!-- <aside class="left-sidebar">
|
{% if toc %}
|
||||||
Left sidebar content here
|
<aside class="left-sidebar">
|
||||||
</aside> -->
|
{{ content | toc | safe }}
|
||||||
|
</aside>
|
||||||
|
{% endif %}
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
<!-- <aside class="right-sidebar">
|
<!-- <aside class="right-sidebar">
|
||||||
Right sidebar content here
|
Right sidebar content here
|
||||||
|
|
Loading…
Reference in New Issue