casper/index.hbs

28 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.title}}" /></a>{{/if}}
2015-02-28 13:00:15 +00:00
{{#if @blog.navigation}}
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
2015-02-27 14:48:15 +00:00
{{/if}}
</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"}}
2015-02-28 12:34:58 +00:00
</main>