edition/index.hbs

23 lines
793 B
Handlebars
Raw Permalink Normal View History

2024-02-12 12:39:05 +00:00
{{!< default}}
<main 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}}
</main>
{{#contentFor "body_class"}}{{#if @site.cover_image}} with-full-cover is-head-transparent{{/if}}{{#if @member}} logged-in{{/if}}{{/contentFor}}