diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts index 698a0d4..981c78a 100644 --- a/src/.vuepress/config.ts +++ b/src/.vuepress/config.ts @@ -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); + })(); + ` + ] +], +}); \ No newline at end of file diff --git a/src/.vuepress/theme.ts b/src/.vuepress/theme.ts index 88fa78c..864ebdd 100644 --- a/src/.vuepress/theme.ts +++ b/src/.vuepress/theme.ts @@ -42,6 +42,7 @@ export default hopeTheme({ roundAvatar: true, description: "编程是一种艺术,投资也是", intro: "/intro.html", + sidebarDisplay: "none", medias: { GitHub: "https://github.com/kowloonzh", Email: "mailto:kowloonzh@gmail.com", diff --git a/src/coding/README.md b/src/coding/README.md index 6ca25a6..adbd79f 100644 --- a/src/coding/README.md +++ b/src/coding/README.md @@ -2,4 +2,5 @@ title: 编程 index: false icon: code +article: false --- \ No newline at end of file diff --git a/src/intro.md b/src/intro.md index 29e8034..2a12e86 100644 --- a/src/intro.md +++ b/src/intro.md @@ -1,6 +1,8 @@ --- icon: circle-info cover: /assets/images/cover3.jpg +article: false + --- # 关于我 diff --git a/src/invest/README.md b/src/invest/README.md index aea0808..f046021 100644 --- a/src/invest/README.md +++ b/src/invest/README.md @@ -2,4 +2,5 @@ title: 理财 index: false icon: eye +article: false --- \ No newline at end of file