Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bendavidaaron/htmpl
Minimal Static Site Generator
https://github.com/bendavidaaron/htmpl
Last synced: about 4 hours ago
JSON representation
Minimal Static Site Generator
- Host: GitHub
- URL: https://github.com/bendavidaaron/htmpl
- Owner: BenDavidAaron
- License: gpl-3.0
- Created: 2024-09-15T18:45:16.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-11-08T02:39:37.000Z (9 days ago)
- Last Synced: 2024-11-08T03:30:25.560Z (9 days ago)
- Language: Rust
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# htmpl
pronounced: h-temple
A barebones static site generator for a personal project.
## Usage
1. Make a templates dir
2. Make a base template with your CSS import, JS imports, `` tag and `` content you want on every page in your static site
3. run `htmpl /path/to/templates/dir /path/to/base.html /path/to/static-pages/`
4. Create an html file starting with the page titlereference the `test` dir for structure and content.
## Installation
1. `cargo build --release`
2. `cp target/release/htmpl ./some/directory/in/your/path`