{{!-- Background image --}} {{#if @custom.use_publication_cover_as_background}} {{#match headerStyle "!=" "Magazine"}} {{#match headerStyle "!=" "Highlight"}} {{#if @site.cover_image}} {{@site.title}} {{/if}} {{/match}} {{/match}} {{/if}}
{{!-- Highlight layout --}} {{#match headerStyle "Highlight"}}
{{#foreach posts limit="1"}} {{> "post-card"}} {{/foreach}}
{{#foreach posts from="2" limit="3"}} {{> "post-card"}} {{/foreach}}
{{#if @custom.highlight_featured_posts}} {{> "components/featured" showFeatured=@custom.highlight_featured_posts limit=6}} {{else}} {{/if}}
{{/match}} {{!-- Magazine layout --}} {{#match headerStyle "Magazine"}} {{#foreach posts limit="7"}} {{#match @number 2}}
{{/match}} {{#match @number 5}}
{{/match}} {{> "post-card"}} {{#match @number 4}}
{{/match}} {{#match @number 7}}
{{/match}} {{/foreach}} {{/match}} {{!-- Landing layout --}} {{#match headerStyle "Landing"}}

{{@site.description}}

{{> "email-subscription"}} {{/match}} {{!-- Search layout --}} {{#match headerStyle "Search"}}

{{@site.description}}

{{> "icons/search"}}
{{/match}}