add baidu-site-verification

This commit is contained in:
linpeilie 2023-03-10 10:41:19 +08:00
parent cbb0545d5f
commit 3020cfa464

View File

@ -7,15 +7,18 @@ import theme from "./theme.js";
export default defineUserConfig({ export default defineUserConfig({
base: "/", base: "/",
head: [['script', {}, ` head: [
var _hmt = _hmt || []; ['script', {}, `
(function() { var _hmt = _hmt || [];
var hm = document.createElement("script"); (function() {
hm.src = "https://hm.baidu.com/hm.js?fab881821b3db8a7c460db1c91ea0f3a"; var hm = document.createElement("script");
var s = document.getElementsByTagName("script")[0]; hm.src = "https://hm.baidu.com/hm.js?fab881821b3db8a7c460db1c91ea0f3a";
s.parentNode.insertBefore(hm, s); var s = document.getElementsByTagName("script")[0];
})(); s.parentNode.insertBefore(hm, s);
`]], })();
`],
['meta', {name: 'baidu-site-verification', content: 'codeva-0h8mfHFGqT'}]
],
locales: { locales: {
"/": { "/": {