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