{{!-- This template is used for the posts that are marked as pages. --}} {{#contentFor "preload"}} {{!-- This block preloads specific assets for the post page --}} {{!-- This block preloads specific assets for the index page --}} {{/contentFor}} {{#contentFor "styles"}} {{!-- This block loads specific styles for the post page --}} {{!-- This block loads specific styles for the index page --}} {{/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 --}} {{#post}} {{> header background=feature_image}} {{/post}}
{{!-- Everything inside the #post tags pulls data from the post --}} {{#post}} {{!-- Inject styles of the hero image to make it responsive --}} {{> hero background=feature_image}}

{{title}}

{{#if custom_excerpt}}

{{custom_excerpt}}

{{/if}}
{{/post}}
{{#post}} {{content}} {{/post}}
{{!-- pyv --}}
{{#get "posts" filter="featured:true" include="authors,tags" order="published_at asc" as |featured|}} {{#if featured}} {{#foreach featured from="2"}}
{{#if feature_image}} {{/if}} {{#if primary_tag}}
{{primary_tag.name}}
{{/if}}

{{title}}

{{/foreach}} {{/if}} {{/get}}
{{!-- /pyv --}}
{{!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs --}} {{#contentFor "scripts"}} {{/contentFor}}