Files
plainleaf/website/API/template.md
T
2025-01-14 20:26:47 +01:00

265 B

Template functions that use the API/global#tpl(template) function.

template.each(collection, template)

Iterates over a collection and renders a template for each item.

Example:

${template.each(queryfrom tag "page" limit 3, tpl[==[ * ${name} ]==])}