🚀 fix: tocbot warning
This commit is contained in:
parent
785a9f33e1
commit
16fe9782f7
@ -296,7 +296,7 @@ Use Tocbot to parse the title tags (h1~h6) in the content and insert the directo
|
|||||||
|
|
||||||
``` md
|
``` md
|
||||||
---
|
---
|
||||||
toc: false
|
no_toc: true
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</script>
|
</script>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if (theme.toc && is_post() && page.toc){ %>
|
<% if (theme.toc && is_post() && !page.no_toc){ %>
|
||||||
<%- js('/js/tocbot.min') %>
|
<%- js('/js/tocbot.min') %>
|
||||||
<script>
|
<script>
|
||||||
// Tocbot_v4.7.0 http://tscanlin.github.io/tocbot/
|
// Tocbot_v4.7.0 http://tscanlin.github.io/tocbot/
|
||||||
|
Loading…
Reference in New Issue
Block a user