From a336de70278583770b5fe53cad43880a82652175 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Wed, 1 Jun 2022 18:08:11 +0530 Subject: [PATCH] feat: allow custom outline title --- src/client/theme-default/components/VPDocAsideOutline.vue | 6 ++++-- types/default-theme.d.ts | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/client/theme-default/components/VPDocAsideOutline.vue b/src/client/theme-default/components/VPDocAsideOutline.vue index 26b556ad65a7..b4b179089509 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) {