{{!-- 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.show_featured}} {{> "components/featured" showFeatured=@custom.show_featured 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}}

{{/match}} {{!-- Search layout --}} {{#match headerStyle "Search"}}

{{@site.description}}

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