~bakpakin/mendoza

Static Site Generator for Janet
Fix syntax highlighting after breaking it.
Allow 'state' as alias for 'dyn' in templates.
Use dynamic bindings.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~bakpakin/mendoza
read/write
git@git.sr.ht:~bakpakin/mendoza

You can also use your local clone with git send-email.

#Mendoza

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.

#Why?

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.

#Features

  • Simple markup language
  • Syntax Highlighting
  • Extensible with the Janet language - use Janet functions from within markup
  • ./mdz watch - File watching with inotifywait
  • ./mdz serve - Serve built static files with circlet
  • HTML templating features built in
  • No need for a configuration file
  • Arbitrary static files

#Usage

First, make sure you have Janet installed. See the Janet docs for more information on this. Use the latest version from git, please.

#Global Installation

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.

#From within this repository

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.

#License

Mendoza is licensed under the MIT License.