An open API service indexing awesome lists of open source software.

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.

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