Pagesmith + EJS
This example demonstrates how to build a static site using @pagesmith/site as the app-facing package for the content layer, Vite/SSG/runtime layer, and EJS templates — no framework, no bundler for HTML, just a Node.js build script.
It showcases:
- Content collections with schema validation via Zod
- The
createContentLayerAPI for loading and querying content - EJS templates with layout wrapping for consistent page structure
- Inline CSS from @pagesmith/site’s pre-built content styles
- A simple Node.js build script that generates static HTML files
This is the simplest integration pattern — ideal when you want full control over the build process without a framework or client-side JavaScript.