Exporting to Astro
The Astro export engine is not yet implemented. StaticShape’s CLI lists Astro as an option, but selecting it will produce an error.
#What this engine would produce
An Astro export engine would generate the same four categories of output as other engines, using Astro’s component syntax:
- Static files in the
public/directory - Layout templates as
.astrocomponents with frontmatter scripts and template expressions (e.g.{variable},{items.map()}) - Content files as Markdown with YAML front matter in
src/content/ - Astro config (
astro.config.mjs)
#Contributing
This engine is open for contributions. See the GitHub repository to get involved. The Hugo export engine serves as a reference implementation.