1.0.1 • Published 4 years ago
statique2 v1.0.1
statique
Installation
# npm
npm install statique2 -g
# yarn
yarn global add statique
Usage
Once you've installed statique, you can get started with the CLI by running statique
.
Projects
Projects are folders that contain a www.js
file, a views
folder, and a content
folder. Check out the example
folder for a simple but interesting website.
www.js
is the file that contains all of your static site's logic. It's the "router" for your site.
views
contains all of your views, which can be written in any format supported by the great art-template by aui.
content
contains all of your content, which can be Markdown or JSON. Subdirectories can be used to define different types of data structures (e.g. posts
, pages
, profiles
, etc).
License
MIT