{{!-- This template is used for the index page. It can be used also as the home page or the default page. --}} {{!-- This block preloads specific assets for the index page --}} {{#contentFor "preload"}} {{/contentFor}} {{!-- This block loads specific styles for the index page --}} {{#contentFor "styles"}} {{/contentFor}} {{!-- The tag below means: insert everything in this file into the {body} of the default.hbs template --}} {{!< default}} {{!-- Special header.hbs partial to generate the
tag --}} {{> header background=@site.cover_image}}
{{!-- Inject styles of the hero image to make it responsive --}} {{> hero background=@site.cover_image}}

{{@site.title}}

{{#if @site.description}}

{{@site.description}}

{{/if}}
{{#get "posts" filter="featured:true" include="authors,tags" limit="5" as |featured|}} {{#if featured}} {{/if}} {{/get}} {{!-- The tag below iterates over all the posts --}} {{> "loop"}}
{{!-- Links to Previous/Next posts --}} {{pagination}}
{{!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs --}} {{#contentFor "scripts"}} {{/contentFor}}