Update config.ts for v3.9
This commit is contained in:
parent
9e2de6f27f
commit
bef26ebb4a
1 changed files with 9 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue