Panini Versions Save

A super simple flat file generator.

v1.1.1

8 years ago
  • 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!

v1.1.0

8 years ago
  • 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.

v1.0.0

8 years ago
  • 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.

v1.0.0-rc.1

8 years ago
  • 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.

v0.1.1

8 years ago

Fixes Handlebars partials not registering.

v0.1.0

8 years ago

Initial release.