mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 19:47:38 +00:00
5487b4da8d
refs https://github.com/TryGhost/Ghost/issues/8348 - `profile_image` && `cover_image` for author and fallback - `feature_image` for tag/post
28 lines
1.1 KiB
Handlebars
28 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 --}}
|
|
<header class="main-header {{#if @blog.cover_image}}" style="background-image: url({{@blog.cover_image}}){{else}}no-cover{{/if}}">
|
|
<nav class="main-nav overlay clearfix">
|
|
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
|
|
{{#if @blog.navigation}}
|
|
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
|
{{/if}}
|
|
</nav>
|
|
<div class="vertical">
|
|
<div class="main-header-content inner">
|
|
<h1 class="page-title">{{@blog.title}}</h1>
|
|
<h2 class="page-description">{{@blog.description}}</h2>
|
|
</div>
|
|
</div>
|
|
<a class="scroll-down icon-arrow-left" href="#content" data-offset="-45"><span class="hidden">Scroll Down</span></a>
|
|
</header>
|
|
|
|
{{!-- The main content area on the homepage --}}
|
|
<main id="content" class="content" role="main">
|
|
|
|
{{!-- The tag below includes the post loop - partials/loop.hbs --}}
|
|
{{> "loop"}}
|
|
|
|
</main>
|