Astro Integration Guide
This guide provides resources and information for integrating Sveltia CMS with Astro, a modern static site builder.
Starter Templates
Here are some starter templates built by the community using Astro:
Disclaimer
These third-party resources are not necessarily reviewed by the Sveltia CMS team. We are not responsible for their maintenance or support. Please contact the respective authors for any issues or questions.
Examples
See real-world examples of Astro integrations in our Showcase. Most of the listed sites include links to their source code, so you can explore how they implemented Sveltia CMS with Astro.
Support for Astro
We have implemented specific features to enhance the integration of Sveltia CMS with Astro:
- The
value_fieldRelation field option can contain a locale prefix like{{locale}}/{{slug}}, which will be replaced with the current locale. It’s intended to support i18n in Astro. (Discussion) - Localizing entry slugs: generate localized slugs for multilingual Astro sites, notably with the @astrolicious/i18n library. (Discussion)
Development Guide
We’ll be adding a detailed development guide for integrating Sveltia CMS with Astro in the near future. In the meantime, feel free to explore the starter templates and showcase examples for guidance.