templtr (pronounced templator) is a lightweight framework for statically generating dynamic html pages, written in C++.
Caution: Project is still very early in development, so expect many new features and breaking api changes.
- Lightweight
- Easy to use
- Powerful
- Fast
- Download and extract the latest release.
- Add to path. (optional)
- Download and extract source from the latest release.
- Run
/usr/local/bin/cmake --build /path/to/source/build --config Release --target all --
- Add to path. (optional)
Run templtr init
in the project root to create a templtr project.
Run templtr build
Options:
-o
sets the out directory, default is/out
-b
sets the base url of links, default is an empty string
Run templtr dev
Options:
-o
sets the out directory, default is/out
-b
sets the base url of links, default is an empty string
Documentation for templtr is available at saile515.github.io/templtr
This repository contains an example project. You can clone the repository and run templtr build
to build the project.