php - mustache: insert a string literal into a template filter -
I would like to do the following (this is a template given by a PHP mustache version):
< Code> & lt; H1 & gt; {{Hello | My_filter}} & lt; / H1>Where
Hello is a verb string, not a variable name.
How can I do this?
Finally I did the following:
& lt; H1 & gt; {{# My_filter}} Hello {{/ my_filter}} & lt; / H1>
Comments
Post a Comment