fix: load current page if Nuxt 3 version selected
Originally, it would attempt to load BASE_URL/Nuxt 3 (2022), which obviously does not exist.
This commit is contained in:
parent
a7efd8b1f6
commit
8f65123f32
@ -1,11 +1,12 @@
|
|||||||
interface SiteRevision {
|
interface SiteRevision {
|
||||||
title: string;
|
title: string;
|
||||||
url?: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const revisions: SiteRevision[] = [
|
export const revisions: SiteRevision[] = [
|
||||||
{
|
{
|
||||||
title: "Nuxt 3 (2022)",
|
title: "Nuxt 3 (2022)",
|
||||||
|
url: "https://eggworld.tk",
|
||||||
},
|
},
|
||||||
{ title: "Eleventy (2021)", url: "https://2021.eggworld.tk" },
|
{ title: "Eleventy (2021)", url: "https://2021.eggworld.tk" },
|
||||||
{ title: "Vanilla (2019-2020)", url: "https://2020.eggworld.tk" },
|
{ title: "Vanilla (2019-2020)", url: "https://2020.eggworld.tk" },
|
||||||
|
Loading…
Reference in New Issue
Block a user