More than one tag in post-cards


When i change in my post-card.hbs from the casper theme this:
{{if #primary_tag}}
<span class="post-card-tags"> {{}}</span>
to this:
{{if #tags}}
<span class="post-card-tags"> {{tags}}</span>

it displays all the tags i want but the formatting is not working anymore.

Do you have any ideas what could be the reason?



What do you mean “the formatting is not working anymore”? Can you provide us with a screenshot?

You might also want to look into this.


Thx for the answer. I got it working now ith the foreach loop. Like this:
{{#foreach tags limit="3"}}
<span class="post-card-tags">{{name}}{{#unless @last}}, {{/unless}}</span>