@nathanhoad/hey

1.8.1 • Public • Published

Hey

A simple site/blog compiler.

Install

Install hey globally:

npm install -g @nathanhoad/hey

Usage

Make a folder for your project and then hey in it.

That will generate a default hey.json config file:

{
  "title": "My Website",
  "url": "https://mywebsite.com",
  "posts": "./posts",
  "public": "./public",
  "templates": "./templates",
  "pages": ["404", "archive"]
}

along with some default content. The templates directory contains ejs templates used when compiling the static html. The posts directory is where your posts will go (there is an example one in there to start with).

Then you can build with hey build or run with hey run (running will compile first).

Live demo

My site runs on hey.

Author

  • Nathan Hoad

Readme

Keywords

Package Sidebar

Install

npm i @nathanhoad/hey

Weekly Downloads

0

Version

1.8.1

License

ISC

Unpacked Size

20.9 kB

Total Files

18

Last publish

Collaborators

  • nathanhoad