OK - 私はあなたが何をしようとしているのか知っていると思います. ページには、コンテンツを配置したい場所がさまざまにある場合があります。標準的な方法は、コンテンツが必要な各場所でパーシャルを使用することです。また、パーシャル内からパーシャルを呼び出すこともできることを覚えておいてください。これは、私のブログ用のページの例です。
 <% for doc in @getCollection('posts').toJSON(): %>
       <%- @partial('content/post.html.eco',{document:doc,showComments:false}) %>
<div class="hr clearfix"> </div>
 <% end %> 
部分的に私は持っています:
 <article class="panel">
    <header>
        <h3 class="title"><a href="<%= @document.url.replace(/\\/g, '/') %>"><%=@document.title%></a><time datetime="<%=@document.date.toISOString()%>" class="postdate"><%=@document.date.toDateString()%></time></h3>
    </header>
    <!-- Post Data -->
    <p class="sub"><strong class="tag_bg"></strong>
    <%for tag in @document.tags: %>
        <a class="catlink" href="/"><%=tag%></a> 
    <%end%>
    <a class="commentlink" href="#">0</a>
    </p>
    <% if (@document.image):%>
    <figure>
        <a class="islink_m" href="#" data-rel="prettyPhoto[mixed]" title="<%=@document.title%>"></a>
        <span class="image-holder-medium">
            <img class="thumb" style="display:block;margin-left:auto;margin-right:auto;" alt="" src="<%=@document.image%>"></span>
    </figure>
    <%end%>
    <p><%-@document.content%></p>
    <footer>
        <%if(@showComments):%>
    <%- @partial('content/social.html') %>
    <%- @partial('content/disqus.html.eco', {site:@site,document: @document}) %>
        <%end%>
    </footer>
</article>