Skip to content

Commit 4c15568

Browse files
committed
增加baidu统计
1 parent c1d7572 commit 4c15568

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"allow": [
44
"Bash(hexo new:*)",
55
"Bash(hexo clean)",
6-
"Bash(hexo generate:*)"
6+
"Bash(hexo generate:*)",
7+
"Bash(hexo server:*)"
78
],
89
"deny": [],
910
"ask": []

_config.next.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ language_switcher: false
212212

213213
footer:
214214
# 指定网站建立的年份。如果不定义,将使用当前年份
215-
#since: 2021
215+
since: 2025
216216

217217
# 年份和版权信息之间的图标
218218
icon:
@@ -785,12 +785,7 @@ google_analytics:
785785

786786
# Baidu Analytics(百度统计)
787787
# 参考: https://tongji.baidu.com
788-
# 使用步骤:
789-
# 1. 访问 https://tongji.baidu.com 注册并添加网站
790-
# 2. 获取统计代码,复制 hm.js? 后面的那串字符
791-
# 3. 将字符串填入下方 <app_id> 位置(去掉尖括号)
792-
# 示例: baidu_analytics: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
793-
baidu_analytics: # <app_id>
788+
baidu_analytics: b4a0c0ddfce1cea4b7db87bca5bf887a
794789

795790
# Cloudflare Web Analytics
796791
# 参考: https://www.cloudflare.com/web-analytics/

0 commit comments

Comments
 (0)