With

with ブロックヘルパーは、データコンテキストから渡されたデータを使用して、内部マークアップを処理します。コンテンツがコレクションに存在する場合、このヘルパーはコンテンツを反復処理しません。

テンプレート 

1<div class="entry">
2  <h1>{{title}}</h1>
3  {{#with story}}
4    <div class="intro">{{{intro}}}</div>
5    <div class="body">{{{body}}}</div>
6  {{/with}}
7</div>

データ 

1{
2  title: "First Post",
3  story: {
4    intro: "Before the jump",
5    body: "After the jump"
6  }
7}

出力 

1<div class="entry">
2  <h1>First Post</h1>
3    <div class="intro">Before the jump</div>
4    <div class="body">After the jump</div>
5</div>