Skip to content

Releases: foundation/panini

v1.7.1

23 Jul 22:26
v1.7.1
18891d3
Compare
Choose a tag to compare
  • Fixes issues with markdown code highlights. The language will default to html.
  • Tests added for code highlighting when using markdown blocks

v1.7.0

21 Jul 01:17
7dee6ef
Compare
Choose a tag to compare
  • Updated dependencies
  • Updated project branding and urls

Version 1.6.2

23 Feb 22:28
a6fff28
Compare
Choose a tag to compare

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

Version 1.6.1

11 Feb 21:48
Compare
Choose a tag to compare

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

Version 1.6.0

26 Jan 19:07
Compare
Choose a tag to compare

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

Version 1.5.1

20 Jul 01:29
Compare
Choose a tag to compare

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

Version 1.5.0

13 Jul 20:26
Compare
Choose a tag to compare
  • 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 ❤️

Version 1.4.0

08 Mar 04:00
Compare
Choose a tag to compare
  • Data files can be written as Node modules. Thanks @Mandrewdarts!
  • Added a CLI tool. Install it with npm i panini -g.
  • Updated dependencies.

Version 1.3.0

02 Mar 23:20
Compare
Choose a tag to compare

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.

Version 1.2.0

31 Jan 19:45
Compare
Choose a tag to compare
  • 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!