no bs static site generator
- pretty fast
- small output (its an ssg lol)
- incremental builds
- live reload
- templating using tera
- pretty good errors
- no theme system
- no image processing
- no pretty much anything
- toc
- tag pages
- rss
- seo stuff
- plugins?
cargo install hilolhilol new my-site
cd my-sitethis generates:
config.toml- site configurationpages/- content filestemplates/- templatesstatic/- CSS, images, favicon, etc.
my-site/
├── config.toml
├── pages/
│ └── index.md
├── templates/
│ ├── default.html
└── static/
├── style.css
├── favicon.svg
├── manifest.json
└── robots.txt
hilol build [path]renders stuff :)
hilol serve [path] --port 3000 --reloadstarts a dev server at http://localhost:3000 with automatic rebuilds on file changes.
hilol check [path]validates that stuff is okay
hilol clean [path]removes public/ directory and cache files.
edit config.toml:
version = "0.1.0"
base_url = "https://example.com"
title = "My Site"
description = "A blazing fast static site"
output_dir = "public" # default: public
content_dir = "pages" # default: pages
template_dir = "templates" # default: templatesMarkdown files in pages/ with TOML frontmatter:
---
title = "My First Post"
description = "A great post about stuff"
template = "default"
date = "2024-01-01"
---
# My First Post
Your markdown content here...uses Tera template engine.