Writing content
website-generator creates HTML files by reading the contents of Markdown files.
Markdown files within content are parsed to create the same folder structure
in a build folder, which contains the publish-ready static-site.
As an example, the following content structure…
content
├── blog
│ ├── index.md
│ └── post.md
└── about.md
…will output the following HTML in build:
build
├── blog
│ ├── index.html
│ └── post
│ └── index.html
└── about
└── index.html
Pages and sections
website-generator arranges content into pages and sections:
Using Markdown
Markdown is used to structure content and is converted to HTML by using the
Including JSON
A page or section might benefit from referencing an external data source.