aspect icon indicating copy to clipboard operation
aspect copied to clipboard

Aspect is a compiling template engine for Lua and LuaJIT

Aspect Lua Template

Build Status codecov Luarocks

Aspect is a template language for Lua and OpenResty. No dependencies. Pure Lua.

Aspect uses a syntax similar to the Twig, Django and Jinja template languages which inspired the Aspect runtime environment.

More Information

Read the documentation for more information.

For template designers:

  • Specification
  • Template Syntax
  • Operators
  • Tags
  • Filters
  • Functions
  • Tests

For developers:

  • Lua API
  • CLI
  • Extending
  • Changelog