Files
Randify.pro/.sisyphus/evidence/task-11-collections.txt
T
emil 25fd24d236 feat(blog+categories): Wave 3-5 — blog infrastructure, categories, content, navigation
- Install @astrojs/rss and setup content collections (blog + generators)
- Create BlogLayout with BlogPosting schema, article OG tags, prev/next nav
- Create blog post pages EN/RU ([slug].astro) with dynamic routing
- Create blog index pages EN/RU with post cards and filtering
- Create RSS feeds EN/RU with auto-discovery links
- Create generator category pages EN/RU (5 categories each)
- Add category navigation pills to homepage
- Create Breadcrumbs, RelatedGenerators, RelatedPosts components
- Add breadcrumbs to GeneratorLayout and BlogLayout
- Wire RelatedGenerators into GeneratorLayout
- Wire RelatedPosts into blog post pages
- Create 8 EN + 8 RU blog post templates with placeholder content
- Add blog link to LanguageSwitcher navigation
- Add category and blog translation keys
2026-05-14 03:19:06 +03:00

11 lines
742 B
Plaintext

Task 11: Install @astrojs/rss and set up content collections config
- Package installed: @astrojs/rss (added 9 packages, 511 total)
- File updated: src/content/config.ts
- Imported z from astro:content
- Added blog collection with type: "content"
- Blog schema fields: title (max 120), description (max 160), pubDate, modDate (optional), draft (default false), lang (en/ru), category (tutorial/guide/news/tips), tags (default []), ogImage (optional, image()), relatedGenerators (optional), relatedPosts (optional)
- Preserved existing generators collection (type: "data", schema: generatorSchema)
- Directories created: src/content/blog/en/ and src/content/blog/ru/
- Build verification: npm run build passed with 64 pages, 0 errors