Skip to content

Releases: foundation/panini

Version 1.1.1

11 Dec 19:43
Compare
Choose a tag to compare
  • Output Handlebars errors to the console or the page instead of just crashing. Handy!
  • Fixed Handlebars helpers not being reloaded when Panini.refresh() is called.
  • Fixed the root Handlebars variable using the wrong slash on Windows.
  • Fixed an error that occurred if Panini.refresh() was called before the plugin is initialized.

Thanks to @ppowalowski for contributing two of these bug fixes!

Version 1.1.0

30 Nov 18:06
Compare
Choose a tag to compare
  • Added a {{#ifequal}} block helper to compare two values.
  • Added a layout variable to the page that contains the name of the layout being used.

Version 1.0.0

17 Nov 17:39
Compare
Choose a tag to compare
  • Adds a {{#code}} helper to highlight code samples with Highlight.js.
  • Adds a refresh() method to reload layouts, partials, helpers, and data after the first initialization.

Version 1.0.0 RC1

16 Nov 19:40
Compare
Choose a tag to compare
Version 1.0.0 RC1 Pre-release
Pre-release
  • Changed configuration settings to use directories instead of globs.
  • Added a required root setting that allows relative paths between pages and assets to be resolved.
  • Added a {{root}} Handlebars variable that generates a relative path to the root directory.
  • Added new Handlebars helpers:
    • {{#ifpage}} displays content only on a given page.
    • {{#unlesspage}} displays content unless on a given page.
    • {{#repeat}} repeats content n times.
    • {{#markdown}} converts Markdown to HTML.

Version 0.1.1

09 Nov 17:28
Compare
Choose a tag to compare

Fixes Handlebars partials not registering.

Version 0.1.0

29 Sep 02:16
Compare
Choose a tag to compare

Initial release.