File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
- <!-- {% assign enable_toc = false %}
1
+ {% assign enable_toc = false %}
2
2
{% if site.toc and page.toc %}
3
3
{% if page.content contains '< h2 ' or page.content contains '< h3' %}
4
4
{% assign enable_toc = true %}
5
5
{% endif %}
6
- {% endif %} -->
6
+ {% endif %}
7
7
8
- <!-- {% if enable_toc %} -->
8
+ {% if enable_toc %}
9
9
< div id ="toc-wrapper " class ="pl-0 pr-4 mb-5 ">
10
10
< div class ="panel-heading pl-3 pt-2 mb-2 "> {{- site.data.locales[include.lang].panel.toc -}}</ div >
11
11
< nav id ="toc "> </ nav >
12
12
</ div >
13
- < div > this is just my note to myself</ div >
14
13
15
14
<!-- toc.js will be loaded at medium priority -->
16
15
< script src ="{{ site.data.assets[origin].toc.js | relative_url }} "> </ script >
17
- <!-- {% endif %} -->
16
+ {% endif %}
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ <h1 class="dynamic-title">
40
40
< div id ="panel-wrapper " class ="col-xl-3 pl-2 text-muted ">
41
41
< div class ="access ">
42
42
{% include update-list.html lang=lang %}
43
- {% include toc.html lang=lang %}
43
+ <!-- TODO: get toc working -->
44
44
</ div >
45
45
46
46
{% for _include in layout.panel_includes %}
You can’t perform that action at this time.
0 commit comments