From 4024fc7e22b46ab917365cb4bc48d99c46878a6b Mon Sep 17 00:00:00 2001 From: Jerry Date: Tue, 2 Feb 2021 16:37:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20mathjax=20=E5=92=8C=20katex=20?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=8A=A0=E8=BD=BDjs=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/includes/third-party/math/index.pug | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layout/includes/third-party/math/index.pug b/layout/includes/third-party/math/index.pug index e91ca85d4..2b16302e4 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 f9060441f..5b4f690a4 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": { From d8cc723134c97971d3096052ae49f8eecc961c08 Mon Sep 17 00:00:00 2001 From: Jerry Date: Wed, 3 Feb 2021 15:42:58 +0800 Subject: [PATCH 2/2] label:3.6.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5b4f690a4..442109810 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-butterfly", - "version": "3.6.2-b1", + "version": "3.6.2", "description": "A Simple and Card UI Design theme for Hexo", "main": "package.json", "scripts": {