Fix syntax highlighting after breaking it.
Allow 'state' as alias for 'dyn' in templates.
Use dynamic bindings.
Mendoza is a simple static site generator, extensible with and written in the Janet programming language. Use a simple markup language to author content and flexible HTML templates for your static content. Inside templates, use the full power of the Janet language to generate boilerplate. Mendoza first parses markup into a document, are then rendered to HTML after going through custom transformations.
Mendoza is a tool for authoring content to produce high qulity static HTML websites. It uses the Janet programming language and a derived markup language to make authoring content fast but flexible. It aims to be easy to set up straight out of the box with Janet, and used for authoring documentation for the Janet website.
./mdz watch
- File watching with inotifywait
./mdz serve
- Serve built static files with circletFirst, make sure you have Janet installed. See the Janet docs for more information on this. Use the latest version from git, please.
Run [sudo] jpm install https://github.com/bakpakin/mendoza.git
script to install on to your machine. The mdz
executable will now be on your path, so you can run commands such as mdz build
to generate your site in any directory.
If you want to develop mendoza itself, you need to clone this repository and
then run [sudo] jpm deps
to install circlet, which mendoza uses to serve
files statically. In this case, use the ./mdz
script to run mendoza.
Mendoza is licensed under the MIT License.