<template name="postsList"> <div class="posts"> {{#each posts}} {{> postItem}} {{/each}} </div> </template>