Meteor + Iron-Router:模板不再有效

Meteor + Iron-Router: Template no more working

我正在做一个项目,它运行正常。但是后来我不得不添加 Iron-Router 来添加一些功能,我的模板之一不再工作了。

我有这个 home.html 文件,它导入两个模板,"nova" 和 "piadas"。但只显示 "nova"。我该如何解决?

home.html:

<template name="home">
<br>
{{> nova}}
<div class="fixed-action-btn horizontal">
    <a class="btn-floating btn-large green accent-4"> <i class="large material-icons">person</i> </a>
    <ul>
        <li><a class="btn-floating green accent-4"><i class="material-icons">add</i></a></li>
        <li><a class="btn-floating green accent-4"><i class="material-icons">account_circle</i></a></li>
    </ul>
</div> 
<br>
{{> piadas}}
</template>

piadas.html:

<template name="piadas">
<div class="row"> {{#each piadas}}
    <div class="col s12 m6">
        <div class="card grey lighten-4">
            <div class="card-content black-text"> <span class="card-title">{{titulo}}</span>
                <p class="truncate">{{piada}}</p>
            </div>
            <div class="card-reveal"> <span class="card-title grey-text text-darken-4">{{titulo}}<i class="material-icons right">close</i></span>
                <p>Essa piada foi enviada por <strong>{{autor}}</strong> no dia <strong>{{formataData}}</strong>.</p>
                <button id="btn-like" class="btn" style="float: left;"><i class="material-icons ">thumb_up</i></button>
                <button id="btn-denunciar" class="btn btn-danger" style="float: right;"><i class="material-icons ">flag</i></button>
            </div>
            <div class="card-action"> <a href="#" onclick="return false;" class="activator"><i class="material-icons right">more_vert</i></a> </div>
        </div>
    </div> {{/each}} </div>
</template>

我发现:"piadas" 模板如何返回带有一些 MongoDB 查询的辅助函数,我必须传递路由器的查询。