diff --git a/src/client/theme-default/components/VPDocAsideOutline.vue b/src/client/theme-default/components/VPDocAsideOutline.vue index cd8e8f91416a..2fbb7813dcdf 100644 --- a/src/client/theme-default/components/VPDocAsideOutline.vue +++ b/src/client/theme-default/components/VPDocAsideOutline.vue @@ -43,7 +43,13 @@ function handleClick({ target: el }: Event) {
- {{ theme.translations?.outlineTitle || 'On this page' }} + {{ + (typeof theme.outline === 'object' && + !Array.isArray(theme.outline) && + theme.outline.title) || + theme.outlineTitle || + 'On this page' + }}