Fix home link
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
|
||||
$: isHome = $page.path.endsWith("docs/1.0");
|
||||
$: base = isHome ? "1.0/" : "";
|
||||
$: homeUrl = isHome ? "" : "../1.0";
|
||||
|
||||
$: pages = [
|
||||
{ url: "../1.0", text: "Home" },
|
||||
{ url: homeUrl, text: "Home" },
|
||||
{ url: `${base}general-concepts`, text: "General concepts" },
|
||||
{ url: `${base}tailwind-ui`, text: "Use with Tailwind UI" },
|
||||
{ url: `${base}version-history`, text: "Version history" },
|
||||
|
||||
Reference in New Issue
Block a user