Skip to content

Commit 344bd93

Browse files
committed
_layouts: Backport changes from Just the Docs v0.4.0.rc3
1 parent 5f05ae0 commit 344bd93

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

_layouts/minimal.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
{% if page.has_children == true and page.has_toc != false %}
6767
<hr>
68-
<h2 class="text-delta">Table of contents</h2>
68+
{% include toc_heading_custom.html %}
6969
<ul>
7070
{% for child in toc_list %}
7171
<li>
@@ -112,12 +112,13 @@ <h2 class="text-delta">Table of contents</h2>
112112

113113
</div>
114114
</div>
115-
</body>
116-
{% if site.mermaid %}
115+
116+
{% if site.mermaid %}
117117
<script>
118118
var config = {% include mermaid_config.js %};
119119
mermaid.initialize(config);
120120
window.mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
121121
</script>
122-
{% endif %}
122+
{% endif %}
123+
</body>
123124
</html>

0 commit comments

Comments
 (0)