Probesys / lotemplate

LOTemplate is document generator used to create documents programatically (ODT, DOCX, PDF) from a template (DOCX or ODT) and a json file.
GNU Affero General Public License v3.0
23 stars 1 forks source link

use counters for counting elements #29

Closed philippe-levan closed 11 months ago

philippe-levan commented 11 months ago

way to use counters for counting elements of a list. Add a new keyword "hidden" in counters.

I modified the readme with the tag v1.4.1

[counter.reset iterator]

[for $solutions]

Title : [foritem title]

Content : [foritem paragraph]

[counter iterator hidden]
[endfor]

we displayed [counter.last iterator] solutions

Changes

Checklist