Twig

The templating engine used by Aptuitiv is Twig, a popular templating engine/language used in a lot of other projects. It is developer friendly and allows your website's templates to include content and have custom logic. 

All of the core Twig syntax, functions, tags, and tests are supported. We have extended Twig to have additional functionality for Aptuitiv.

Tags

Filters

Functions

Tests

Operators

  • Miscellaneous operators (|, .., ~, ?:, ??)
  • Comparison (==, !=, <, <=, >, >=, starts with, ends with, matches)
  • Containment (in)
  • Logic (and, &&, or, ||, not)
  • Math (+, -, /, %, //, *, **)
  • Tests (is)
This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv