expressify

expressify

Jekyll plugin providing new Liquid tags (and replacing some builtin ones) to mitigate the lack of flexibility of Liquid's builtin expression evaluator.

Expressify

Expressify provides:

  • a simple evaluator accepting a large and safe subset of Ruby expressions
  • a couple of custom Liquid tags that bring that power to Liquid templates (mix of new tags and backward-compatible replacements for existing tags)

It is packaged in a single file suitable for use as a Jekyll plugin but the core expression evaluator can be used independently.

Canonical repository: http://gitorious.org/expressify

License

Copyright © 2013, Hugues Bruant hugues@bruant.info

Licensed under 2-clause BSD. See bsd.txt for details.

Dependencies

Install as Jekyll plugin

Simply copy expressify.rb to the plugins dir of your Jekyll site.