Den tis 28 dec. 2021 kl 22:13 skrev Nathan Hartman <hartman.nat...@gmail.com
>:

> What is EZT?
>

EaZy Templating by Greg Stein, a Python templating library:
https://github.com/gstein/ezt

We use it ourselves, for example in /subversion/trunk/tools/dist/release.py
(the templates are in the aptly named templates directory).

It seems Infra has created a lua version:
https://github.com/apache/infrastructure-p6/tree/production/modules/closer_cgi/files

This it what generates the download page from the download.html file.

Looking at it again, it seems the lua version doesn't support [else]. I
also think I messed up the [http] and [backup] variables, using them as
strings and not arrays. Don't know why it worked on the <select> element
and not in the text above.

Kind regards,
Daniel

Reply via email to