Instead of showing the variable name in the processed page, it would be nice to output nothing when the variable is not defined.
For example, I have a header.html include that gets a @@title variable passed in on all pages except for the home page, but @@title shows up in the title tag since it's not defined.
The workaround is to define it and leave it blank like this: @@include('header.html', {"title": ""}), but it would be easier to leave that out.
Instead of showing the variable name in the processed page, it would be nice to output nothing when the variable is not defined.
For example, I have a header.html include that gets a
@@title
variable passed in on all pages except for the home page, but@@title
shows up in the title tag since it's not defined.The workaround is to define it and leave it blank like this:
@@include('header.html', {"title": ""})
, but it would be easier to leave that out.