A static site built with Sia.
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build# Create a new blog post
npm run new post "My Post Title"
# Create a new page
npm run new page "Page Title"
# Create a short note
npm run new note "Quick thought"├── _config.yml # Site configuration
├── src/
│ ├── posts/ # Blog posts (markdown)
│ ├── pages/ # Static pages
│ ├── notes/ # Short notes
│ └── images/ # Images
├── _layouts/ # Custom layouts (optional)
├── _includes/ # Custom includes (optional)
├── styles/ # Custom styles (optional)
└── dist/ # Generated output
- Edit
_config.ymlto change site settings - Add custom layouts in
_layouts/to override defaults - Add custom includes in
_includes/ - Add
styles/main.cssto override default styles
This site is configured to automatically deploy to GitHub Pages.
- Push your code to GitHub
- Go to your repository Settings → Pages
- Under "Build and deployment", select "GitHub Actions" as the source
- Your site will deploy automatically on every push to the main branch
You can also deploy manually:
npm run buildThen upload the dist/ folder to any static hosting.