Im creating a list of featured posts and I want to add the tags associated for each post. Im currently getting a blank render. Ive tried several different ways in the docs but im guessing you can’t use the foreach handler within another foreach loop?
My current code
{{#get 'posts' limit='18' include='tags' filter='featured:true'}}
{{#foreach posts}}
<div class="col-lg-6">
<li class="post-item-new">
<div class="post-image-block-new">
<div class="item-post-content-new">
<h2 class="post-title_small-new"><a href="{{url}}">{{title}}</a></h2>
<div class="item-post-info-new">
<div>
<span class="post-date-new"><time class="page-date" datetime="{{date format='YYYY-MM-DD'}}">
{{date format="DD MMMM YYYY"}}
</time></span></div>
<div class="featured-post-tags">
{{#foreach tags}}
{{name}}
{{/foreach}}
</div>
</div>
</div>
</div>
</li>
</div>
{{/foreach}}
{{/get}}