forked from zutrinken/austere
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.hbs
More file actions
30 lines (24 loc) · 705 Bytes
/
index.hbs
File metadata and controls
30 lines (24 loc) · 705 Bytes
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}}
<header id="header" class="header{{#if @blog.cover_image}} has-cover{{/if}}">
<div class="inner">
<a class="header-title" href="{{@blog.url}}">
{{#if @blog.logo}}
<figure class="header-logo">
<img src="{{@blog.logo}}" alt="Logo" />
</figure>
{{/if}}
<h1 class="header-name">{{@blog.title}}</h1>
{{#if @blog.description}}
<span class="header-description">{{@blog.description}}</span>
{{/if}}
</a>
</div>
{{#if @blog.cover_image}}
<div class="header-cover" style="background-image: url({{@blog.cover_image}})"></div>
{{/if}}
</header>
<div id="post-index" class="container">
<main class="content" role="main">
{{> "loop"}}
</main>
</div>