We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d81f9 commit 1ad65c9Copy full SHA for 1ad65c9
.vitepress/config/index.ts
@@ -15,7 +15,7 @@ export default defineConfig({
15
...shared,
16
locales,
17
transformHead(context) {
18
- const head: HeadConfig[] = [ ...context.head ];
+ const head: HeadConfig[] = [];
19
if (!context.pageData.isNotFound) {
20
const localesRegex = new RegExp(`^/(${Object.keys(locales).join('|')})`);
21
const canonical = '/' + context.page.replace(/\.md$/, '.html').replace(/\/index\.html$/, '/');
0 commit comments