Skip to content

Release v2.0

Compare
Choose a tag to compare
@jhsx jhsx released this 14 Aug 11:47
· 215 commits to master since this release
  • much more powerful {{block}} and {{yield}} constructs, allowing local variables, default variables as well as wrapping (read more)
  • fast functions that are up to 50% faster than normal functions; the built-in len and isset functions are implemented as fast functions (read more in the new Advanced section)
  • simple string concatenation in templates obviate the need for sprintf-like functions: {{ "build."+someString+".your-string" }} (see here)
  • isset can now be used to check for the existence of a key in a map (works both with the var map as well as the context, see here and here)
  • templates can now also be imported/included relatively and without the extension; provided the templates' filenames end with .jet, .html.jet or .jet.html (read more)