{{!< default}} {{!-- The tag above means: insert everything in this file into the {body} of the default.hbs template --}}
{{#if @site.cover_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}}

{{#if @site.logo}} {{else}} {{@site.title}} {{/if}}

{{@site.description}}

{{#if @custom.search_bar_text}} {{@custom.search_bar_text}} {{else}} I want to think about... {{/if}}
Search
{{#unless @member}}

{{> "icons/email"}} {{#if @custom.subscribe_cta_text}} {{@custom.subscribe_cta_text}} {{else}} Think about something new every week {{/if}}

{{/unless}}
{{!-- The main content area --}}
{{#match pagination.pages ">" 1}}

Latest

{{else}}

Latest

{{/match}}
{{#foreach posts limit="4"}} {{!-- The tag below includes the markup for each post - partials/post-card.hbs --}} {{> "post-card"}} {{/foreach}}
{{#if @custom.enter_tag_slugs}} {{#get "tags" filter="slug:[{{@custom.enter_tag_slugs}}]"}} {{#foreach tags}}
{{> "topic-grid"}} {{/foreach}} {{/get}} {{else}} {{#match posts.length ">" 1}} {{#get "tags" include="count.posts" order="count.posts desc" limit="6"}} {{#foreach tags}}
{{> "topic-grid"}} {{/foreach}} {{/get}} {{/match}} {{/if}}