Releases: foundation/panini
Releases · foundation/panini
Version 1.1.1
- 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
- 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
- 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
- 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 contentn
times.{{#markdown}}
converts Markdown to HTML.
Version 0.1.1
Fixes Handlebars partials not registering.
Version 0.1.0
Initial release.