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,22 +170,23 @@ export default hopeTheme({
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mdEnhance: {
|
||||||
|
align: true,
|
||||||
|
demo: true,
|
||||||
|
sub: true,
|
||||||
|
sup: true,
|
||||||
|
vPre: true,
|
||||||
|
},
|
||||||
|
|
||||||
plugins: {
|
plugins: {
|
||||||
blog: {
|
blog: {
|
||||||
excerptLength: 0,
|
excerptLength: 0,
|
||||||
},
|
},
|
||||||
mdEnhance: {
|
|
||||||
align: true,
|
|
||||||
demo: true,
|
|
||||||
sub: true,
|
|
||||||
sup: true,
|
|
||||||
vPre: true,
|
|
||||||
},
|
|
||||||
redirect: {
|
redirect: {
|
||||||
autoLocale: true,
|
autoLocale: true,
|
||||||
defaultBehavior: 'defaultLocale',
|
defaultBehavior: 'defaultLocale',
|
||||||
defaultLocale: '/de/',
|
defaultLocale: '/de/',
|
||||||
|
|
||||||
localeConfig: {
|
localeConfig: {
|
||||||
'/de/': ['de-DE', 'de'],
|
'/de/': ['de-DE', 'de'],
|
||||||
'/en/': ['en-US', 'en'],
|
'/en/': ['en-US', 'en'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user