pronounced: h-temple
A barebones static site generator for a personal project.
- Make a templates dir
- Make a base template with your CSS import, JS imports,
<head>
tag and<body>
content you want on every page in your static site - run
htmpl /path/to/templates/dir /path/to/base.html /path/to/static-pages/
- Create an html file starting with the page title
reference the test
dir for structure and content.
cargo build --release
cp target/release/htmpl ./some/directory/in/your/path