I don’t know what you mean by complete. The complete page html structure is not required, only html fragments are required;
Currently artTemplate can only be introduced through {{include './footer_tpl'}};
It depends on how you split it. Just split the public part into another template and then use include to introduce it;
There is no difference in rendering. The imported template also needs rendering data, which can be passed in together when rendering. You can just think of include as introducing template code and splicing it into this template. There is nothing profound about it.
I don’t know what you mean by complete. The complete page html structure is not required, only html fragments are required;
Currently artTemplate can only be introduced through
{{include './footer_tpl'}}
;It depends on how you split it. Just split the public part into another template and then use
include
to introduce it;There is no difference in rendering. The imported template also needs rendering data, which can be passed in together when rendering.
You can just think of
include
as introducing template code and splicing it into this template. There is nothing profound about it.