# options.ncl — question schema for the website generator (scripts/generator/new-site.nu). # Combines with the templates.json registry: render_mode picks the template tree. { questions = [ { id = "project", prompt = "Project name (kebab-case)", default = "my-website" }, { id = "render_mode", prompt = "Render mode", default = "htmx-ssr", choices = ["htmx-ssr", "leptos-hydration"] }, { id = "site_title", prompt = "Site title", default = "My Website" }, { id = "domain", prompt = "Domain (no scheme)", default = "example.com" }, { id = "languages", prompt = "Languages (csv)", default = "en,es" }, { id = "default_lang", prompt = "Default language", default = "en" }, { id = "ontoref", prompt = "ontoref onboarding", default = "minimal", choices = ["full", "minimal", "none"] }, ], # render_mode → template directory (must match templates.json names) template_for = { "htmx-ssr" = "website-htmx-ssr", "leptos-hydration" = "website-leptos", }, }