On this page
+
+ {{ theme.outlineTitle || 'On this page' }}
+
diff --git a/src/client/theme-default/components/VPDocAsideOutline.vue b/src/client/theme-default/components/VPDocAsideOutline.vue index 26b556ad..b4b17908 100644 --- a/src/client/theme-default/components/VPDocAsideOutline.vue +++ b/src/client/theme-default/components/VPDocAsideOutline.vue @@ -7,7 +7,7 @@ import { useActiveAnchor } from '../composables/outline' -const { page, frontmatter } = useData() +const { page, frontmatter, theme } = useData() const { hasOutline } = useOutline() @@ -32,7 +32,9 @@ function handleClick({ target: el }: Event) {