I defined a shared template in a file foo.html
...
But when I used foo in bar.html twice there is wrong result
{{> foo}} ... {{> foo}}
Does {{> foo}} make a macro replacement in bar.html?
How can I apply template as a procedure?
I defined a shared template in a file foo.html
...
But when I used foo in bar.html twice there is wrong result
{{> foo}} ... {{> foo}}
Does {{> foo}} make a macro replacement in bar.html?
How can I apply template as a procedure?
That should work.
You’ll have to expand your example code to help us figure out the problem though
Thanks. It worked by added missed helper functions.