UNPKG

steady-static

Version:

Steady is a nodeJS static site generator

62 lines (40 loc) 1.03 kB
## Steady Static ### Installation npm install -g steady-static ### Working with Steady 1. steady create-new steady-project 2. cd steady-project ### Directory Structure /site - Built site /src /_layouts - Put all of your layouts here /_pages - Put all of your pages here /_posts - Currently not used /sass ### Example Layout <!DOCTYPE html> <html> <head> <title>Steady Documentation</title> <link rel="stylesheet" href="/css/screen.css"> </head> <body> {{ body }} </body> </html> {{ body }} is where the main content from a page comes in #### Example Page Pages are saved as html files <!-- layout: main url: / --> ## Markdown Crap ### It works! This is my first page built with steady! [google.com](http://google.com) ### Let's see it 1. steady serve 2. browse to http://localhost:8181 ### Other Notes Steady defaults to watching your src folder. Whenever a change is made in there it will rebuild the site and reload the page for you.