diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4fdb4296..2d69b469 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: - node_version: [18, 20, 21] + node_version: [18, 20, 22] steps: - name: Checkout diff --git a/src/client/theme-default/NotFound.vue b/src/client/theme-default/NotFound.vue index 8861062f..9ed917de 100644 --- a/src/client/theme-default/NotFound.vue +++ b/src/client/theme-default/NotFound.vue @@ -1,44 +1,55 @@ - {{ theme.notFound?.code ?? '404' }} - {{ theme.notFound?.title ?? 'PAGE NOT FOUND' }} + {{ notFound.code }} + {{ notFound.title }} - - {{ - theme.notFound?.quote ?? - "But if you don't change your direction, and if you keep looking, you may end up where you are heading." - }} - + {{ notFound.quote }} - {{ theme.notFound?.linkText ?? 'Take me home' }} + {{ notFound.linkText }} diff --git a/src/client/theme-default/components/VPDocAsideOutline.vue b/src/client/theme-default/components/VPDocAsideOutline.vue index 7c22fda1..4eb59ebc 100644 --- a/src/client/theme-default/components/VPDocAsideOutline.vue +++ b/src/client/theme-default/components/VPDocAsideOutline.vue @@ -25,7 +25,8 @@ useActiveAnchor(container, marker) - - {{ resolveTitle(theme) }} + + {{ resolveTitle(theme) }} + - - - Table of Contents for current page - - - + - +
{{ theme.notFound?.code ?? '404' }}
{{ notFound.code }}
- {{ - theme.notFound?.quote ?? - "But if you don't change your direction, and if you keep looking, you may end up where you are heading." - }} -
{{ notFound.quote }}