🚀 fix: tocbot warning

This commit is contained in:
shenyu 2020-03-24 22:03:59 +08:00
parent c1cedb6104
commit 55d5c26161

View File

@ -17,7 +17,7 @@
</script>
<% } %>
<% if (theme.toc && is_post() && !page.no_toc){ %>
<% if (theme.toc && is_post()){ %>
<%- js('/js/tocbot.min') %>
<script>
// Tocbot_v4.7.0 http://tscanlin.github.io/tocbot/