Panini Versions Save

A super simple flat file generator.

v1.7.1

3 years ago
  • Fixes issues with markdown code highlights. The language will default to html.
  • Tests added for code highlighting when using markdown blocks

v1.7.0

3 years ago
  • Updated dependencies
  • Updated project branding and urls

v1.6.2

6 years ago

Update marked (0.3.6 -> 0.3.14) to resolve Security Vulnerability 2017-17461

v1.6.1

6 years ago

Throw an exception if there's an error in compiling a layout, instead of just logging to the console. Thanks @kazagkazag!

v1.6.0

6 years ago

Updated the markdown helper to output highlighted code in the same style as the code helper. Thanks @gormus!

v1.5.1

6 years ago

Fixed issue #132, which was introduced with the addition of BOM stripping in version 1.5.0.

v1.5.0

6 years ago
  • Added an @index variable that can be used within the #repeat helper. It starts at 0 and increments on each repeat.
  • Fixed only top-level files within a data/ folder being loaded. Files within subfolders will now load also.
  • Fixed a caching issue that would prevent JSON-based data from being updated within templates when saved.
  • Strip the byte order mark from pages and partials.
  • Partials no longer have a newline added to them when loaded into Handlebars.

Thanks to @Thumbleweed, @asselinpaul, and @FracturedShader for their contributions to this release ❤️

v1.4.0

7 years ago
  • Data files can be written as Node modules. Thanks @Mandrewdarts!
  • Added a CLI tool. Install it with npm i panini -g.
  • Updated dependencies.

v1.3.0

8 years ago

Upgraded from Handlebars 3 to 4! Your existing templates will work fine. Handlebars 4 brings two interesting new features: inline partials and decorators. SitePoint has a good overview of what's up.

v1.2.0

8 years ago
  • Panini has a full test suite now!
  • Using a standalone instance of Panini is now easier, as the Panini.render() function can be used standalone.
  • Layouts, partials, helpers, and data can now be configured as an array of file paths instead of a single file path.
  • Added a pageLayouts option which allows pages to have preset layouts by folder.

Special thanks to @avr for contributing code this release!