forked from TryGhost/Casper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.hbs
27 lines (23 loc) · 1.01 KB
/
index.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{!< 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}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}">
<nav class="main-nav overlay clearfix">
<!--{{#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">
{{#if @blog.logo}}<a href="{{@blog.url}}"><img style="height: 3em" src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
</h1>
<h2 class="page-description">{{@blog.description}}</h2>
</div>
</div>
</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>