The templates works fine, but most of pages no need to define endBody, is there a way to mark block as optional? So that no need to define endBody block in every template.
I also noticed there is a IncludeIfExists syntax, but seems not suit for this case.
Hi, I am looking for something like
html/template
provided:If block wasn't imported or defined, ignore it or output the default value.
The templates works fine, but most of pages no need to define
endBody
, is there a way to mark block as optional? So that no need to defineendBody
block in every template. I also noticed there is aIncludeIfExists
syntax, but seems not suit for this case.