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
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Panini!