I have a HomeLayout.html like this:
<template name="HomeLayout">
<main>
{{>Template.dynamic template=main}}
</main>
</template>
And a LoginLayout.html like this:
<template name="LoginLayout">
<main>
<p> Login Layout Test </p>
</main>
</template>
I'm trying to input this LoginLayout inside HomeLayout. To start the HomeLayout I use this code:
Router.route('/', function () {
this.render('HomeLayout');
});
But i dont know how i can load this LoginLayout inside HomeLayout...