mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-06-01 02:09:34 +08:00
百度统计
This commit is contained in:
@@ -29,6 +29,18 @@ export default async function RootLayout({ children }: Readonly<{ children: Reac
|
||||
<meta name="keywords" content={data?.keyword} />
|
||||
<link rel="icon" href={data?.favicon} />
|
||||
|
||||
<script dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?e5bf799a3e49312141c8b677b7bec1c2";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
`
|
||||
}} />
|
||||
|
||||
<body className={`${LXGWWenKai.className} dark:!bg-black-a transition-colors`}>
|
||||
{/* 进度条组件 */}
|
||||
<NProgress />
|
||||
|
||||
Reference in New Issue
Block a user