casper/index.hbs

25 lines
1.1 KiB
Handlebars
Raw Normal View History

{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
2013-08-20 16:53:02 +00:00
{{! The big featured header }}
<header class="main-header {{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{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 Logo" /></a>{{/if}}
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
</nav>
2013-08-28 12:01:39 +00:00
<div class="vertical">
<div class="main-header-content inner">
<h1 class="page-title">{{@blog.title}}</h1>
<h2 class="page-description">{{@blog.description}}</h2>
2013-08-28 12:01:39 +00:00
</div>
2013-08-20 16:53:02 +00:00
</div>
2014-07-22 11:21:33 +00:00
<a class="scroll-down icon-arrow-left" href="#content" data-offset="-45"><span class="hidden">Scroll Down</span></a>
2013-08-20 16:53:02 +00:00
</header>
{{! The main content area on the homepage }}
2014-07-22 11:21:33 +00:00
<main id="content" class="content" role="main">
2013-08-10 13:06:01 +00:00
{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "loop"}}
2013-08-10 13:06:01 +00:00
</main>