0.8.3 • Published 6 years ago
shock v0.8.3
Shock
Shock is a simple static blog compiler.
Usage
- Begin: (Install
nodeandnpm, then)* runnpm install -g shock - Write: Save content under
/contentas HTML or Markdown. Runshock newpostto register that post inindex.json. - Publish: Run
shock compileto compile a static website, which you can then host on anything that serves static files. - Customize: Edit files under
/templatesto customize your blog. - Facepalm: Quickly unregister a post with
shock rm *name*.
*www.nodejs.org
Basic Structure (reference)
A Shock blog consists of the following simple directory structure:
.
├── content
│ ├── post1.html
│ └── post2.html
├── index.json
├── static
│ ├── some.css
│ └── more.js
└── templates
├── 404.html # 404 page
├── footer.html # footer (convenient for copyright...)
├── header.html # header
├── home.html # index.html = homepage (list posts here)
└── post.html # actual post pageThis can be generated automagically using shock init.
Hints
- In
shock newpost, leaveauthoranddateblank for reasonable defaults to be filled in.
0.8.3
6 years ago
0.8.2
6 years ago
0.8.1
6 years ago
0.8.0
6 years ago
0.7.1
6 years ago
0.7.0
6 years ago
0.6.0
6 years ago
0.5.1
9 years ago
0.5.0
10 years ago
0.4.0
10 years ago
0.2.6
10 years ago
0.2.5
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.1.7
11 years ago
0.1.6
11 years ago
0.1.5
11 years ago
0.1.4
11 years ago
0.1.3
11 years ago
0.1.2
11 years ago
0.1.1
11 years ago
0.1.0
11 years ago
0.0.1
11 years ago
0.0.0
11 years ago