Add Mastodon links to new stories, add title texts, and improve tags
- Added Mastodon links to "Woofer Exploration" and "Rose's Binge" - Add title texts to stories and games thumbnails on index, stories, games, and tag pages - Add descriptions and related tags to tag pages
This commit is contained in:
parent
efcfce1e06
commit
a713adc1ec
34 changed files with 493 additions and 239 deletions
|
|
@ -185,10 +185,14 @@ const tagCategoriesCollection = defineCollection({
|
|||
name: z.string(),
|
||||
index: z.number().int(),
|
||||
tags: z.array(
|
||||
z.union([
|
||||
z.string(),
|
||||
z.record(lang, z.string()).refine((tag) => "eng" in tag, `object-formatted tag must have an "eng" key`),
|
||||
]),
|
||||
z.object({
|
||||
name: z.union([
|
||||
z.string(),
|
||||
z.record(lang, z.string()).refine((tag) => "eng" in tag, `object-formatted tag must have an "eng" key`),
|
||||
]),
|
||||
description: z.string().optional(),
|
||||
related: z.array(z.string()).optional(),
|
||||
}),
|
||||
),
|
||||
}),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue