I’m using this
Router.route('/', function () {
this.render('something');
});
Sure, it works as intended but how do i choose where the template “something” gets rendered?
Currently it puts the template in the bottom of the page, but i want it inside a div.
{{> something}} doesnt work since that displays the template all the time.
I hope you understand my question. I want to render different templates based on the route, inside the same div.
Just for hardcore clarification, im going to write it in an imaginary language
<div class="content">
{{#if mysite.com/home}}
{{> home}}
{{/if}}
{{#if mysite.com/help}}
{{> help}}
{{/if}}
</div>