weflock/partials/topic-grid.hbs

19 lines
470 B
Handlebars
Raw Normal View History

<section>
<header class="gh-topic-header">
<h2>
<a href="{{url}}">{{name}}</a>
</h2>
</header>
<div class="post-feed">
{{#get "posts" include="tags,authors" filter="tag:{{slug}}" limit="4"}}
{{#foreach posts}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
{{/get}}
</div>
</section>