diff --git a/vdoing/components/AlgoliaSearchBox.vue b/vdoing/components/AlgoliaSearchBox.vue index f0c3d3d549..f191f3562c 100644 --- a/vdoing/components/AlgoliaSearchBox.vue +++ b/vdoing/components/AlgoliaSearchBox.vue @@ -46,6 +46,7 @@ export default { }, algoliaOptions), handleSelected: (input, event, suggestion) => { const { pathname, hash } = new URL(suggestion.url) + const routepath = pathname.replace(this.$site.base, '/'); const _hash = decodeURIComponent(hash) this.$router.push(`${routepath}${_hash}`) }