Merge pull request #16 from northword/patch-1

This commit is contained in:
pengzhanbo 2023-09-23 23:36:16 +08:00 committed by GitHub
commit ffab2b30d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ export const baiduTongjiPlugin = ({ key = '' }: BaiduTongjiOptions): Plugin => {
return {
name: '@vuepress-plume/vuepress-plugin-baidu-tongji',
extendsPage: (page) => {
page.frontmatter.head = page.frontmatter.head || [];
page.frontmatter.head?.push([
'script',
{