diff --git a/layout/_partial/after-footer.ejs b/layout/_partial/after-footer.ejs index be4e577..3e834fd 100644 --- a/layout/_partial/after-footer.ejs +++ b/layout/_partial/after-footer.ejs @@ -17,7 +17,7 @@ <% } %> -<% if (theme.toc && is_post()){ %> +<% if (theme.toc && is_post() && page.toc){ %> <%- js('/js/tocbot.min') %>