It's possible to put dynamic content in theme.html
like:
<div if="$my_option"> render this</div>
And on my manifest.cfg have something like:
[theme:parameters]
my_option = myClass/myMethod
If this it's not possible can someone point me to a documentation page where I can achieve something similar.
What I want to do is, function will make a request to some server, see if can put that content there, if can will get the content from that request and a lot of configurations and put the content on the page.
I think (but I am not sure) that you can not do that.
What you can do is to load / insert a template from rules.xml and then use TAL in that template.
Another options could be to have a condition in rules, something like: