Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@earthtone/grayson-generator

2.0.5 • Public • Published

Grayson Logo Static Site Generator

Installation

npm install -g @earthtone/grayson-generator

Usage

Scaffold project directory structure

grayson init [project-directory]

sample output

Generate HTML files from MD & JSON files

grayson gen <project-directory> [output-directory] [pages-directory] [meta-directory]

Traverses pages directory and meta directory for files. Both the source directories and output directories are configurable, but generation defaults to an assumed structure generated during grayson init. If no page specific metadata is provided, default values are used.

EG: The files /pages/index.md & /meta/index.json yield an index.html file output in the /public directory.

Keywords

none

Install

npm i @earthtone/[email protected]

Version

2.0.5

License

ISC

Unpacked Size

169 kB

Total Files

18

Last publish

Collaborators

  • avatar