1af0dbc717
no issue - replace test themes - otherwise they are all invalid with the new GScan version - fix general tests because of Ghost 2.0 logic
37 lines
1.1 KiB
Handlebars
37 lines
1.1 KiB
Handlebars
{{!< default}}
|
|
{{!-- The tag above means: insert everything in this file
|
|
into the {body} of the default.hbs template --}}
|
|
|
|
{{!-- The big featured header, it uses blog cover image as a BG if available --}}
|
|
<header class="site-header outer {{#if @blog.cover_image}}" style="background-image: url({{@blog.cover_image}}){{else}}no-cover{{/if}}">
|
|
<div class="inner">
|
|
<div class="site-header-content">
|
|
<h1 class="site-title">
|
|
{{#if @blog.logo}}
|
|
<img class="site-logo" src="{{@blog.logo}}" alt="{{@blog.title}}" />
|
|
{{else}}
|
|
{{@blog.title}}
|
|
{{/if}}
|
|
</h1>
|
|
<h2 class="site-description">{{@blog.description}}</h2>
|
|
</div>
|
|
{{> "site-nav"}}
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- The main content area --}}
|
|
<main id="site-main" class="site-main outer">
|
|
<div class="inner">
|
|
|
|
<div class="post-feed">
|
|
{{#foreach posts}}
|
|
|
|
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
|
{{> "post-card"}}
|
|
|
|
{{/foreach}}
|
|
</div>
|
|
|
|
</div>
|
|
</main>
|