Skip to content

Commit 58854ff

Browse files
committed
fix: change top-logo link from root path to base path.
1 parent cfe8016 commit 58854ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/default-theme/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function Layout(props: ParentProps) {
107107
<Dialog.Content class={styles.sidenav}>
108108
<div class={styles["sidenav-content"]}>
109109
<div class={styles["sidenav-header"]}>
110-
<a href="/" class={styles["logo-link"]}>
110+
<A href={config().base || "/"} class={styles["logo-link"]}></A>
111111
<Show
112112
when={config().logo}
113113
fallback={<span>{config().title}</span>}

0 commit comments

Comments
 (0)