diff --git a/layout/_partial/after-footer.ejs b/layout/_partial/after-footer.ejs index 537d644..8861c97 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.no_toc){ %> <%- js('/js/tocbot.min') %> <% } %>