fix: Render page_toc if it exists
This commit is contained in:
parent
517a3f5e32
commit
d10470dc0d
1 changed files with 2 additions and 0 deletions
|
|
@ -101,12 +101,14 @@ id="page-{{ name or route | e }}" data-path="{{ pathname | e }}"
|
|||
<div class="main-column doc-main col-12 col-lg-10 col-xl-8">
|
||||
{{ main_content() }}
|
||||
</div>
|
||||
{%- if page_toc_html -%}
|
||||
<div class="page-toc col-sm-2 d-none d-xl-block">
|
||||
<div>
|
||||
<h5>On this page</h5>
|
||||
{{ page_toc_html }}
|
||||
</div>
|
||||
</div>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue