Merge pull request #306 from SerokSSR/dev

修復 comments.use 不能爲空的 bug
This commit is contained in:
Jerry Wong
2020-08-08 13:15:30 +08:00
committed by GitHub
Unverified

View File

@@ -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"]')
}