Update config.ts for v3.9

This commit is contained in:
Félix Piédallu 2025-09-26 19:34:43 +02:00
parent 9e2de6f27f
commit bef26ebb4a

View file

@ -10,14 +10,14 @@ const config: Config = {
favicon: 'img/favicon.png',
url: 'https://semalibre.com',
baseUrl: '/',
baseUrl: '/site',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
onBrokenAnchors: 'throw',
onDuplicateRoutes: 'throw',
future: {
v4: true,
experimental_faster: true,
},
@ -29,6 +29,12 @@ const config: Config = {
],
},
markdown: {
hooks: {
onBrokenMarkdownLinks: 'throw',
},
},
presets: [
[
'classic',
@ -135,7 +141,7 @@ const config: Config = {
'ruby',
'shell-session',
'toml',
'yaml'
'yaml',
],
},
} satisfies Preset.ThemeConfig,