Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 title

reference the `test` dir for structure and content.

## Installation
1. `cargo build --release`
2. `cp target/release/htmpl ./some/directory/in/your/path`