Skip to content

BenDavidAaron/htmpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, <head> tag and <body> 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

About

Minimal Static Site Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published