Rename references from latest/ to 2.0/

This commit is contained in:
Ryan Gossiaux
2023-06-10 21:16:56 -07:00
parent 3a895f5d41
commit d0650382f6
8 changed files with 10 additions and 10 deletions

View File

@@ -1,9 +1,9 @@
<script lang="ts">
import { page } from "$app/stores";
$: isHome = $page.path.endsWith("docs/latest");
$: base = isHome ? "latest/" : "";
$: homeUrl = isHome ? "" : "../latest";
$: isHome = $page.path.endsWith("docs/2.0");
$: base = isHome ? "2.0/" : "";
$: homeUrl = isHome ? "" : "../2.0";
$: pages = [
{ url: homeUrl, text: "Home" },