feat: 添加自定义头部 HTML 配置以支持外部脚本

This commit is contained in:
2026-02-26 16:30:07 +08:00
parent f29a5401ed
commit 756e3fee71
2 changed files with 8 additions and 0 deletions

View File

@@ -192,6 +192,11 @@ const siteConfig = {
},
},
header: {
customHtml:
'<script charset="UTF-8" id="MXA_COLLECT" src="//mxana.tacool.com/sdk.js"></script>\n<script>MXA.init({ id: "c2-sNzz1Cx4" })</script>',
},
footer: {
beian: "津ICP备2025039003号-1",
beianLink: "https://beian.miit.gov.cn/",