The official default template for Lito.
This template is automatically used by Lito:
# Uses this template by default
lito dev -i ./your-docs
# Or explicitly specify it
lito dev -i ./your-docs --template github:Lito-docs/template- Fork this repository
- Make your changes
- Use your fork:
lito dev -i ./docs --template github:YOUR_USERNAME/lito-default-template- Clone this repo
- Modify the template
- Use it locally:
lito dev -i ./docs --template ./path/to/this/folder├── astro.config.mjs # Astro configuration
├── package.json # Dependencies
├── src/
│ ├── components/ # UI components
│ ├── layouts/ # Page layouts
│ ├── pages/ # Route templates
│ ├── styles/ # CSS styles
│ └── utils/ # Utility functions
└── public/ # Static assets
- Copy this template as a starting point
- Modify components, layouts, and styles
- Push to GitHub
- Use with:
--template github:you/your-template
A valid Lito template must have:
astro.config.mjspackage.jsonwith Astro dependenciessrc/pages/directory for routing
MIT