-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested Template #52
Comments
See #24. :) |
It is different case. They are referring to a master template with more than one child template. I am referring to child template have child template. |
There are no built in ways. But you can do like this.
Try this:
|
@frankcheong no, you are asking the same thing from #24, I also used master with 1 dynamic and nested with 2 dynamic. Just add BlazeLayout.render('baseLayout', {
Body: "Body",
SearchTemplate: "**title**",
ResponseTemplate: "**title**"
}); Check the demo repository / demo app, it works great. |
Hello,
I am working on a project and need to proper split the template based on function unit. To achieve that I would need to nest the template and would like to know the proper way in doing that.
I have a base layout template below
baseLayout.html
Both navigation and notifications don' t have anything special. While for the Body it need to further nest as:-
Body.html
For the route, I only know how to pass the body dynamic template while is there a way I can pass the Search Template and ResponseTemplate?
Route.js
The text was updated successfully, but these errors were encountered: