diff --git a/.vitepress/theme/components/SimpleAnalyticsBadge.vue b/.vitepress/theme/components/SimpleAnalyticsBadge.vue new file mode 100644 index 0000000..8180b4c --- /dev/null +++ b/.vitepress/theme/components/SimpleAnalyticsBadge.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/.vitepress/theme/index.js b/.vitepress/theme/index.js index 85a5786..c030afb 100644 --- a/.vitepress/theme/index.js +++ b/.vitepress/theme/index.js @@ -1,5 +1,6 @@ import DefaultTheme from 'vitepress/theme-without-fonts' import PageLoader from "./components/PageLoader.vue"; +import SimpleAnalyticsBadge from "./components/SimpleAnalyticsBadge.vue"; import './custom.css' import { h } from "vue"; @@ -8,6 +9,7 @@ export default { Layout() { return h(DefaultTheme.Layout, null, { 'layout-top': () => h(PageLoader), + 'aside-outline-after': () => h(SimpleAnalyticsBadge), }) } }