diff --git a/src/.vuepress/components/SocialIcons.vue b/src/.vuepress/components/SocialIcons.vue index 29dfd54..614a68e 100644 --- a/src/.vuepress/components/SocialIcons.vue +++ b/src/.vuepress/components/SocialIcons.vue @@ -2,7 +2,7 @@
- + diff --git a/src/.vuepress/enhanceApp.js b/src/.vuepress/enhanceApp.js index 487b7fa..2d51a7c 100755 --- a/src/.vuepress/enhanceApp.js +++ b/src/.vuepress/enhanceApp.js @@ -1,8 +1,3 @@ -import { ThemeConfig } from 'bootstrap-darkmode'; - -export const themeConfig = new ThemeConfig(); -themeConfig.initTheme(); - const matchPath = /(?|.+)\/(?[-_\w]+)(?|\/|\.html|\.md)$/; export default ({ @@ -12,6 +7,7 @@ export default ({ siteData // site metadata }) => { router.beforeEach((to, from, next) => { + if (to.path === '/') next('/me'); if (!to.name) { const { filename } = to.fullPath.match(matchPath).groups; next( diff --git a/src/.vuepress/theme/Layout.vue b/src/.vuepress/theme/Layout.vue index 70ca672..a48daf0 100644 --- a/src/.vuepress/theme/Layout.vue +++ b/src/.vuepress/theme/Layout.vue @@ -1,5 +1,5 @@