🚀 fix: warning

This commit is contained in:
shenyu 2020-03-24 22:09:20 +08:00
parent 55d5c26161
commit 785a9f33e1

View File

@ -17,7 +17,7 @@
</script> </script>
<% } %> <% } %>
<% if (theme.toc && is_post()){ %> <% if (theme.toc && is_post() && page.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/