-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.hbs
More file actions
23 lines (19 loc) · 943 Bytes
/
index.hbs
File metadata and controls
23 lines (19 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{!< default}}
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
{{!-- The big featured header --}}
<header class="{{#if @blog.cover_image}}" style="background-image: url({{@blog.cover_image}}){{else}}no-cover{{/if}}">
<nav class="">
{{#if @blog.logo}}<a class="" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
{{#if @blog.navigation}}
{{/if}}
</nav>
<div class="tc">
<h1 class="fw3 f-headline-ns f1 f1-m ttu tracked mb0-l"><a class="no-underline dark-gray link dim" href="{{@blog.url}}">{{@blog.title}}</a></h1>
<h2 class="fw3 f4-ns f5 ttu tracked gray tc">{{@blog.description}}</h2>
</div>
</header>
{{!-- The main content area on the homepage --}}
<main id="content" class="" role="main">
{{!-- The tag below includes the post loop - partials/loop.hbs --}}
{{> "loop"}}
</main>