26 lines
933 B
Handlebars
26 lines
933 B
Handlebars
{{!< default}}
|
|
|
|
{{#is "home"}}
|
|
{{!-- Homepage loop is replaced by the hybrid broadsheet 3-zone lead and topic ribbons in default.hbs --}}
|
|
{{else}}
|
|
<div class="site-main">
|
|
<header class="feed-header gh-canvas">
|
|
{{#if @custom.feed_title}}
|
|
<div class="feed-header-wrapper">
|
|
<h2 class="feed-header-title">{{@custom.feed_title}}</h2>
|
|
</div>
|
|
{{/if}}
|
|
</header>
|
|
|
|
<div class="post-feed{{#match @custom.feed_layout "!=" "Minimal"}} expanded{{/match}}{{#match @custom.feed_layout "Right thumbnail"}} right-thumbnail{{/match}}{{#match @custom.feed_layout "Text-only"}} text-only{{/match}} gh-feed gh-canvas">
|
|
{{#foreach posts}}
|
|
{{> "loop"}}
|
|
{{/foreach}}
|
|
</div>
|
|
|
|
{{pagination}}
|
|
</div>
|
|
{{/is}}
|
|
|
|
{{#contentFor "body_class"}}{{#if @site.cover_image}} with-full-cover is-head-transparent{{/if}}{{#if @member}} logged-in{{/if}}{{/contentFor}}
|