ac2d1f25e5
Replace deprecated Astro.glob with import.meta.glob in all pages: - src/pages/index.astro: Updated homepage to use import.meta.glob - src/pages/blog/index.astro: Updated blog listing page - Updated package.json with separate build commands Changes use import.meta.glob with eager loading and properly extract slugs from file paths for routing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
{"version":{"fullVersion":"2.1.0","major":"2","minor":"1","patch":"0"},"meta":{"flags":["experimentalData"]},"collections":[{"name":"post","label":"Blog Posts","path":"content/blog","format":"mdx","fields":[{"type":"string","name":"title","label":"Title","isTitle":true,"required":true,"namespace":["post","title"],"searchable":true,"uid":false},{"type":"datetime","name":"date","label":"Publication Date","required":true,"namespace":["post","date"],"searchable":true,"uid":false},{"type":"string","name":"excerpt","label":"Excerpt","required":true,"description":"Short summary of the blog post","namespace":["post","excerpt"],"searchable":true,"uid":false},{"type":"image","name":"coverImage","label":"Cover Image","description":"Featured image for the blog post","namespace":["post","coverImage"],"searchable":false,"uid":false},{"type":"rich-text","name":"body","label":"Body","isBody":true,"required":true,"namespace":["post","body"],"searchable":true,"parser":{"type":"mdx"},"uid":false}],"namespace":["post"]},{"name":"page","label":"Pages","path":"content/pages","format":"mdx","fields":[{"type":"string","name":"title","label":"Title","isTitle":true,"required":true,"namespace":["page","title"],"searchable":true,"uid":false},{"type":"string","name":"description","label":"Description","description":"Meta description for SEO","namespace":["page","description"],"searchable":true,"uid":false},{"type":"rich-text","name":"body","label":"Content","isBody":true,"required":true,"namespace":["page","body"],"searchable":true,"parser":{"type":"mdx"},"uid":false}],"namespace":["page"]}],"config":{"media":{"tina":{"publicFolder":"public","mediaRoot":"images"}}}} |