forked from zutrinken/attila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
35 lines (29 loc) · 868 Bytes
/
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
31
32
33
34
35
{{!< default}}
<header id="blog-header"{{#if @blog.cover}} class="has-cover"{{/if}}>
<div class="inner">
<nav id="navigation">
{{#if @blog.logo}}
<span class="blog-logo">
<a href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>
</span>
{{/if}}
{{#if @blog.navigation}}
<span id="menu-button" class="nav-button">
<a class="menu-button"><i class="ic ic-menu"></i> Menu</a>
</span>
{{/if}}
</nav>
<h1 class="blog-name"><a href="{{@blog.url}}">{{@blog.title}}</a></h1>
{{#if @blog.description}}
<span class="blog-description">{{@blog.description}}</span>
{{/if}}
{{#if @blog.cover}}
<div class="blog-cover cover" style="background-image: url('{{@blog.cover}}');"></div>
{{/if}}
</div>
</header>
<div id="index" class="container">
<main class="content" role="main">
{{> "loop"}}
</main>
</div>