Merge remote-tracking branch 'origin/feat/hierarchical-theme-config' into feat/hierarchical-theme-config

pull/4660/head
Yuxuan Zhang 6 months ago
commit 324d79c97c
No known key found for this signature in database
GPG Key ID: 6910B04F3351EF7D

@ -22,7 +22,7 @@ const { currentLang } = useLangs()
<div class="action">
<a
class="link"
:href="withBase(currentLang.link)"
:href="withBase(theme.notFound?.link ?? currentLang.link)"
:aria-label="theme.notFound?.linkLabel ?? 'go to home'"
>
{{ theme.notFound?.linkText ?? 'Take me home' }}

@ -480,6 +480,13 @@ export namespace DefaultTheme {
*/
quote?: string
/**
* Target of the home link.
*
* @default '/'
*/
link?: string
/**
* Set aria label for home link.
*

Loading…
Cancel
Save