Tags

Supported tags:

  • set
  • include
  • if
  • for - partial support
  • array unpacking not supported
  • all loop.* variables are supported
  • nested loops are not yet supported
  • extends - partial support. Only two-level inheritance is allowed: <layout>.htmlbody.htmlbase.html
  • block - partial support. Only one block inheritance/definition is allowed:
  • outer {% block body %} and inner {% block content %} inside body.html
  • outer {% block content %} Inside <layout>.html

Not supported tags:

  • asyncEach
  • asyncAll
  • macro
  • import
  • raw
  • verbatim
  • filter
  • call

    Functions

Filters

Other features

  • variables full support
  • filters partial support (more filters can be added as required):
  • length
  • sort must have caseSens=true
  • safe
  • nl2br
  • slice_array - stackbit filter, same as slice
  • split - stackbit filter, same as split
  • date_format - stackbit filter, same as date
  • relative_url - stackbit filter, same as relURL in Hugo and relative_url in Jekyll
  • markdownify - stackbit filter, same as markdownify in Hugo and Jekyll
  • Math - partial support:
  • Addition: +
  • Subtraction: -
  • Multiplication: *
  • Division: /
  • Division remainder: %
  • Comparisons - partial support: all except === and !==
  • Logic - full support
  • If Expression - partial support: must have truthy and falsy values
  • Function Calls - only Global Functions supported
  • Regular Expressions - not supported
  • Global Functions - partial support:
  • ✅ paginate - new function, see pagination
  • ✅ cycler - supported
  • ❗ range - partial support: requires start and stop arguments are requires, step parameter not supported.
  • 🚫 joiner - not supported