[BUG] template part Unable to load
{{ part "head" . }} Unable to load
Hello @chaodoing, can you please post the source code in order to be able to reproduce it?
https://github.com/kataras/iris/tree/main/_examples/view/template_html_5 This example can not work. The header and body part defined by about.html can not show in the page
I found the reason.
When project started ,getBuiltinFuncs function is called for many times with different value of name parameter. When part function is called, The last value of name parameter is used.
For example: getBuiltinFuncs is called twice like this:
getBuiltinFuncs("a.html") getBuiltinFuncs("b.html")
Not matter which template is rendering, var fullPartName in "part" function will always be : b-head,