github.com/leonelquinteros/thtml (go): THTML is a static website generator based on text/template package.  Includes a development webserver to help creating HTML websites and components compiling the templates on the fight, allowing a edit-save-refresh development process.  Usage:  [COMMAND] can be the following:  [OPTIONS] are:  By running `thtml -run` on a directory, the tool will use the default options that assume the following directory structure:  The `public` directory and all its sub-directories will contain the source files for the template website structure, including assets that have to be included during the static website compilation. It works as the "web root" directory of the development webserver and contains the desired final structure.  The `templates` directory and all its sub-directories is where all the reusable templates have to be placed so they can be used from the pages in the `public` directory and from other templates.  The `build` directory will be used to write the output of the static website compilation and then deploy it.  Check the `_example` directory on the repository to see a simple layout: https://github.com/leonelquinteros/thtml/tree/master/_example  After creating the website using the development webserver, it can be built running `thtml -build` and the content of the `build` directory can be deployed to any static web server on production.  THTML uses pure Go's text/template package to render the templates together. Check the package documentation for details about the syntax: https://golang.org/pkg/text/template/
Keywords: go|golang|static-site-generator|template-html|thtml|web-development-tools