We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e299cc3 commit f29ee89Copy full SHA for f29ee89
.vitepress/config/index.ts
@@ -22,7 +22,7 @@ export default defineConfig({
22
...shared,
23
locales,
24
transformHead(context) {
25
- const head: HeadConfig[] = [ ...context.head ];
+ const head: HeadConfig[] = [];
26
if (!context.pageData.isNotFound) {
27
const localesRegex = new RegExp(`^/(${Object.keys(locales).join('|')})`);
28
const canonical = '/' + context.page.replace(/index\.(md|html)$/, '').replace(/\.md$/, context.siteConfig.cleanUrls ? '' : '.html');
0 commit comments