Skip to content

Commit

Permalink
feat: 安装百度统计
Browse files Browse the repository at this point in the history
  • Loading branch information
kowloonzh committed Aug 27, 2023
1 parent a475f33 commit ae780bb
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,19 @@ export default defineUserConfig({

// Enable it with pwa
// shouldPrefetch: false,
});
// 百度统计
head: [
[
'script', {},
`
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?52e54a294e73ad3da039f9aedf7d116d";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
`
]
],
});
1 change: 1 addition & 0 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default hopeTheme({
roundAvatar: true,
description: "编程是一种艺术,投资也是",
intro: "/intro.html",
sidebarDisplay: "none",
medias: {
GitHub: "https://github.com/kowloonzh",
Email: "mailto:[email protected]",
Expand Down
1 change: 1 addition & 0 deletions src/coding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
title: 编程
index: false
icon: code
article: false
---
2 changes: 2 additions & 0 deletions src/intro.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
icon: circle-info
cover: /assets/images/cover3.jpg
article: false

---

# 关于我
Expand Down
1 change: 1 addition & 0 deletions src/invest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
title: 理财
index: false
icon: eye
article: false
---

0 comments on commit ae780bb

Please sign in to comment.