From 1ac43323fc9e1f153d5d0e7db16bcb109d29c5b4 Mon Sep 17 00:00:00 2001 From: Akira Lin <64728373+SerokSSR@users.noreply.github.com> Date: Sat, 8 Aug 2020 12:06:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=BE=A9=E8=A9=95=E8=AB=96=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E7=88=B2=E7=A9=BA=E7=9A=84=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/includes/third-party/pjax.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/includes/third-party/pjax.pug b/layout/includes/third-party/pjax.pug index af212fb..a8ff1d1 100644 --- a/layout/includes/third-party/pjax.pug +++ b/layout/includes/third-party/pjax.pug @@ -10,7 +10,7 @@ script. '.js-pjax' ] - if (!{theme.Open_Graph_meta && theme.comments.use.includes('Livere')}) { + if (!{theme.Open_Graph_meta && theme.comments.use && theme.comments.use.includes('Livere')}) { pjaxSelectors.unshift('meta[property="og:image"]', 'meta[property="og:title"]', 'meta[property="og:url"]') }