File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 19
19
<li class =" sidebar__item" >
20
20
<a class =" sidebar__link {% if related .permalink == ' ' %}sidebar__link--active{% endif %}"
21
21
href =" {{ related .permalink }}" >{{ related .name }}</a >
22
+
23
+ {% if related .permalink == ' ' %}
24
+ {% set content = include (page .markdown_source ) %}
25
+ <div class =" sidebar_toc markdown" >
26
+ {{ content | markdown_toc | raw }}
27
+ </div >
28
+ {% endif %}
22
29
</li >
23
30
{% endfor %}
24
31
</ul >
25
32
</nav >
26
33
</div >
27
-
28
- <div class =" columns__column columns__column--4 columns__column--padding_left" >
29
- <nav class =" sidebar" >
30
- <h2 class =" sidebar__title" >Table of contents:</h2 >
31
- {% set content = include (page .markdown_source ) %}
32
- {{ content | markdown_toc | raw }}
33
- </nav >
34
- </div >
35
34
{% endif %}
36
35
</div >
37
36
{% endblock %}
You can’t perform that action at this time.
0 commit comments