diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index e53dfd4..3d1ee26 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -22,12 +22,6 @@ export default { app.component('About', About) // https://github.com/vuejs/vitepress/issues/3100 - router.onBeforeRouteChange = () => { - const jsonLdId = 'postJsonLd' - const jsonLd = document.getElementById(jsonLdId) - if (jsonLd) { - jsonLd.parentNode?.removeChild(jsonLd) - } - } + // router.onBeforeRouteChange = () => {} } }