diff --git a/layout/includes/third-party/math/index.pug b/layout/includes/third-party/math/index.pug index e91ca85..2b16302 100644 --- a/layout/includes/third-party/math/index.pug +++ b/layout/includes/third-party/math/index.pug @@ -1,6 +1,6 @@ if theme.mathjax && theme.mathjax.enable if theme.mathjax.per_page - if is_post() && is_page() + if is_post() || is_page() include ./mathjax.pug else if page.mathjax @@ -8,7 +8,7 @@ if theme.mathjax && theme.mathjax.enable if theme.katex && theme.katex.enable if theme.katex.per_page - if is_post() && is_page() + if is_post() || is_page() include ./katex.pug else if page.katex diff --git a/package.json b/package.json index f906044..5b4f690 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-butterfly", - "version": "3.6.1", + "version": "3.6.2-b1", "description": "A Simple and Card UI Design theme for Hexo", "main": "package.json", "scripts": {