diff --git a/src/content/groups/lostbelt-6-5.json b/src/content/groups/lostbelt-6-5.json new file mode 100644 index 0000000..295c36c --- /dev/null +++ b/src/content/groups/lostbelt-6-5.json @@ -0,0 +1,10 @@ +{ + "info": { + "title": "Lostbelt 6.5 - Traum", + "releaseDate": "2024-05-13", + "shortdescription": "An Interlude of sorts that brings some new challenging content centered around a nation build of servants", + "releaseNumber": 1, + "type": "group" + } + } + \ No newline at end of file diff --git a/src/content/taInfoData/lostbelt-6-5/zhang-jue.json b/src/content/taInfoData/lostbelt-6-5/zhang-jue.json new file mode 100644 index 0000000..c5d513c --- /dev/null +++ b/src/content/taInfoData/lostbelt-6-5/zhang-jue.json @@ -0,0 +1,64 @@ +{ + "info": { + "title": "Zhang Jue", + "releaseDate": "2024-05-13", + "shortdescription": "", + "releaseNumber": 1 + }, + "quests": [ + { + "questTitle": "Zhang Jue", + "description": "", + "data": [ + { + "title": "Skadi 2T", + "link": "https://youtu.be/OtNYsaM13G4", + "date": "2024-05-14", + "servant": "skadi", + "turns": "2T", + "runner": "Firq" + }, + { + "title": "Baobhan 2T", + "link": "https://www.youtube.com/watch?v=GmUUF0aiXik", + "date": "2024-05-18", + "servant": "baobhansith", + "turns": "2T", + "runner": "Mikazuki" + }, + { + "title": "Melusine 2T", + "link": "https://www.youtube.com/watch?v=9X5Znfw6dWk", + "date": "2024-05-20", + "servant": "melusine_aoe", + "turns": "2T", + "runner": "TokuHer0" + }, + { + "title": "Nero (Caster) 2T", + "link": "https://www.youtube.com/watch?v=-rK9rpJIFDA", + "date": "2024-05-20", + "servant": "nerocaster", + "turns": "2T", + "runner": "Lutrec" + }, + { + "title": "Morgan 2T", + "link": "https://www.youtube.com/watch?v=8mg123LnifQ", + "date": "2024-05-14", + "servant": "morgan", + "turns": "2T", + "runner": "Loki" + }, + { + "title": "Bazett 1T", + "link": "https://www.youtube.com/watch?v=Zgn8tlXStiI", + "date": "2024-05-22", + "servant": "bazett", + "turns": "1T", + "runner": "Mikazuki" + } + ] + } + ] +} diff --git a/src/pages/database/[...slug].astro b/src/pages/database/[...slug].astro index c71d40f..9dad6f4 100644 --- a/src/pages/database/[...slug].astro +++ b/src/pages/database/[...slug].astro @@ -52,7 +52,7 @@ export async function getStaticPaths() { const full = slugdata.concat(groups as any) full.map((data) => { if (data.group) { - const coll = fulldata.filter((d) => d.id.startsWith(data.slug)) + const coll = fulldata.filter((d) => d.id.split("/", 1)[0] == data.slug) data.questinfo = coll.map((d) => { return { slug: d.id, info: d.data.info } })