forked from h4t0n/odin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
30 lines (24 loc) · 1.02 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
28
29
30
{{!< 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}}">
<div class="vertical">
<div class="main-header-content inner">
{{#if @blog.logo}}
<div class="blog-logo">
<img src="{{@blog.logo}}" alt="{{@blog.title}}" />
</div>
{{/if}}
<h1 class="page-title">{{@blog.title}}</h1>
<h2 class="page-description">{{@blog.description}}</h2>
{{navigation}}
{{> "social_link"}}
</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>