mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-13 07:46:08 +00:00
move markdown config to theme config due to deprecation warning
This commit is contained in:
parent
07b898bc24
commit
51cd732d27
@ -170,11 +170,6 @@ export default hopeTheme({
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
plugins: {
|
||||
blog: {
|
||||
excerptLength: 0,
|
||||
},
|
||||
mdEnhance: {
|
||||
align: true,
|
||||
demo: true,
|
||||
@ -182,10 +177,16 @@ export default hopeTheme({
|
||||
sup: true,
|
||||
vPre: true,
|
||||
},
|
||||
|
||||
plugins: {
|
||||
blog: {
|
||||
excerptLength: 0,
|
||||
},
|
||||
redirect: {
|
||||
autoLocale: true,
|
||||
defaultBehavior: 'defaultLocale',
|
||||
defaultLocale: '/de/',
|
||||
|
||||
localeConfig: {
|
||||
'/de/': ['de-DE', 'de'],
|
||||
'/en/': ['en-US', 'en'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user