https://github.com/monai/zombie
A node.js module for web UI developers. Turns HTML templates into website which is neither living nor dead.
https://github.com/monai/zombie
Last synced: 3 months ago
JSON representation
A node.js module for web UI developers. Turns HTML templates into website which is neither living nor dead.
- Host: GitHub
- URL: https://github.com/monai/zombie
- Owner: monai
- License: mit
- Created: 2013-10-05T10:27:33.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-08-31T22:48:05.000Z (almost 6 years ago)
- Last Synced: 2024-12-31T22:12:17.261Z (over 1 year ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Brraaaiiins!
var Zombie = require("zombie").Zombie;
module.exports = Zombie()
.partial({
file: "_header.html",
partials: ["subheader"]
})
.partial({
file: "_subheader.html",
})
.partial({
file: "_footer.html"
})
.partial({
file: "_layout.html"
})
.page({
file: "index.html",
layout: "layout",
partials: ["header", "footer"]
})
.page({
file: "other.html",
layout: "layout",
partials: ["header", "footer"]
})
.run(__filename);
Rise zombie:
node ./app.js serve