Modgui - Template engine


Is someone know with template engine is used on modgui. I would like to create a for loop on my icon.html mod gui.

I don’t know what its called but you can look at other plugins

1 Like

Looks like Handlebars or Moustache to me

1 Like

Thanks. Apparently is Moustache.js

I would like to create a for just someway like this

{{for i in range(1, 10): }}

but apparently Moustache doesn’t have support for this. All the data treatment must be made at other place and send for Moustache render.

@falkTX, do you know if is possible to include some data to be rendered by Moustache?