fastpress
fast and simple static site generator
Getting Started
Install
$ npm i -D @day1co/fastpress
Create New Site
$ npx fastpress site
Create New Page
$ npx fastpress page
Create New Post
$ npx fastpress post
Build All
$ npx fastpress build
- Watch Changes and Build(expremental)
$ npx fastpress watch
preview with local http server
$ npx http-server out/
see http-server
deploy to github pages
$ npx gh-pages -d out/
see gh-pages
Internals
Directory Structure
+ pages/
- index.md
+ about/
- index.md
+ posts/
- index.md
+ slug
- index.md
- ...
+ public/
- favicon.ico
- ...
+ layouts/
- default.ejs
- page.ejs
- post.ejs
- ...
Custom Layout
see ejs
May the SOURCE be with you...