{% extends "_base.jinja2" %} {% block title %}Template Render Demo{% endblock %} {% block content %}
This example shows Lua scripts rendering Jinja2 templates with custom variables.
Visit /api/greet?name=Alice — a Lua script renders the greeting template.
Or try /api/greet?name=Bob&role=Admin with a role.