Tags not showing in loop

Hi,

I’m new to Ghost. I’m trying to adapt a theme to display only featured post on the home page. Currently it displays all with a loop partial:

{{#foreach posts visibility=‘all’}}
{{> post-card }}
{{/foreach}}

The only way I can get it to show featured correctly is:

{{#get 'posts' filter='featured:true' limit='4' as | posts |}}
     {{#if posts}}
         {{#foreach posts visibility='all'}}
              {{> post-card }}
         {{/foreach}}
    {{/if}}
{{/get}}

However if I do this it will not show the tag information from the post-card partial which is :slight_smile:

{{#primary_tag}}
{{ name }}
{{/primary_tag}}

Could anyone offer some help?

Many thanks,

Scott

Use include="tags" in get