Template Rendering using Lua Templates

Lua Templates is a multi-purpose template rendering engine used to create output in various formats, e.g. HTML pages, plain text, or, LaTeX source files from a template. Lua Templates can contain Lua code or Lua expressions (whence the name), but there is also a powerful mechanism to extend existing templates by re-defining named blocks found in the base template (one could call this an “inheritance” mechanism, and it is…