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',
|
favicon: 'img/favicon.png',
|
||||||
|
|
||||||
url: 'https://semalibre.com',
|
url: 'https://semalibre.com',
|
||||||
baseUrl: '/',
|
baseUrl: '/site',
|
||||||
|
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: 'throw',
|
||||||
onBrokenMarkdownLinks: 'throw',
|
|
||||||
onBrokenAnchors: 'throw',
|
onBrokenAnchors: 'throw',
|
||||||
onDuplicateRoutes: 'throw',
|
onDuplicateRoutes: 'throw',
|
||||||
|
|
||||||
future: {
|
future: {
|
||||||
|
v4: true,
|
||||||
experimental_faster: true,
|
experimental_faster: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -29,6 +29,12 @@ const config: Config = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
markdown: {
|
||||||
|
hooks: {
|
||||||
|
onBrokenMarkdownLinks: 'throw',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
'classic',
|
'classic',
|
||||||
|
@ -135,7 +141,7 @@ const config: Config = {
|
||||||
'ruby',
|
'ruby',
|
||||||
'shell-session',
|
'shell-session',
|
||||||
'toml',
|
'toml',
|
||||||
'yaml'
|
'yaml',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
} satisfies Preset.ThemeConfig,
|
} satisfies Preset.ThemeConfig,
|
||||||
|
|
Loading…
Reference in a new issue