Getting Started
Scaffold a lily-pad site, learn the project layout, and write your first page.
Prerequisites
Scaffold a site
This creates a thin SvelteKit shell wired to the lily-pad package — the theme and markdown pipeline come from npm and update with pnpm update.
Project layout
You write in content/ and configure in lily-pad.config.ts. The files in src/ are a few small stubs — the actual theme lives in the lily-pad package.
Write your first page
Create a markdown file under a locale root. title and description are required frontmatter:
The sidebar picks the page up automatically — see Routing for how paths map to URLs and Frontmatter for every field.
Preview it
This builds the content index with velite and starts the dev server at localhost:5173.
Build for production
Pages prerender to static HTML in every locale, and the full-text search index is generated. See Deploying for hosting.
What's next
- Learn the markdown surface — Markdown, Code Blocks, Containers
- Translate your pages — Internationalization
- Make the site yours — Site Config