{{!-- This is a partial file used to generate a post "card" which templates loop over to generate a list of posts. --}}
{{#if feature_image}} {{!-- This is a responsive image, it loads different sizes depending on device https://medium.freecodecamp.org/a-guide-to-responsive-images-with-ready-to-use-templates-c400bd65c433 --}} {{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}} {{^has visibility="public"}}
{{> "icons/lock"}} Members-only
{{/has}}
{{/if}}
{{#primary_tag}} {{name}} {{/primary_tag}} {{#if featured}} {{> "icons/fire"}} Featured {{/if}}

{{^has visibility="public"}} {{#unless feature_image}} {{> "icons/lock"}} {{/unless}} {{/has}} {{title}}

{{#if excerpt}}
{{excerpt}}
{{/if}}