Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/leonelquinteros/thtml

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/

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/leonelquinteros/thtml
Keywords: go, golang, static-site-generator, template-html, thtml, web-development-tools
License: MIT
Latest release: over 4 years ago
First release: over 4 years ago
Namespace: github.com/leonelquinteros
Stars: 5 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago

    Loading...
    Readme
    Loading...