A super simple flat file generator for use with Gulp. It compiles a series of HTML pages using a common layout. These pages can also include HTML partials, external Handlebars helpers, or external data as JSON or YAML. Panini isn't a full-fledged static site generator—rather, it solves the very specific problem of assembling flat files from common elements, using a templating language.
Features
- Feed Panini a stream of HTML files, and get a delicious flattened site out the other end
- Note that Panini loads layouts, partials, helpers, and data files once on first run
- All layouts have a special Handlebars partial called body which contains the contents of the page
- A list of presets for page layouts, grouped by folder
- Use npm test to run tests
- It solves the very specific problem of assembling flat files from common elements, using a templating language
License
MIT LicenseFollow Panini
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Panini!