Skip to content

Commit 4f42dc7

Browse files
author
piexlmax
committed
add baidu 统计
1 parent b355e23 commit 4f42dc7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/theme/DocSidebar/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ function DocSidebar({path, sidebar, sidebarCollapsible = true}) {
275275
))}
276276
</ul>
277277
</div>
278+
<script type="text/javascript" src="https://hm.baidu.com/hm.js?40635ef25e31fa2a58ed58f935d0a1a0"></script>
278279
</div>
279280
);
280281
}

src/theme/Footer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function Footer() {
116116
)}
117117
</div>
118118
<div onClick={() => { window.open("https://beian.miit.gov.cn/") }} style={{ textAlign: "center", cursor: "pointer" }}>鲁ICP备17040210号-2</div>
119-
<script type="text/javascript" src="https://s4.cnzz.com/z_stat.php?id=1279266757&web_id=1279266757"></script>
119+
<script type="text/javascript" src="https://hm.baidu.com/hm.js?40635ef25e31fa2a58ed58f935d0a1a0"></script>
120120

121121
</footer>
122122
);

src/theme/Navbar/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ function Navbar() {
185185
</div>
186186
</div>
187187
</div>
188+
<script type="text/javascript" src="https://hm.baidu.com/hm.js?40635ef25e31fa2a58ed58f935d0a1a0"></script>
188189
</nav>
189190
);
190191
}

0 commit comments

Comments
 (0)