forked from zutrinken/attila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
32 lines (27 loc) · 823 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
{{!< default}}
<header class="blog-header {{#if @site.cover_image}} has-cover{{/if}}">
<div class="inner">
<div class="box blog-box">
<h1 class="blog-name">{{@site.title}}</h1>
{{#if @site.description}}
<span class="blog-description">{{@site.description}}</span>
{{/if}}
</div>
{{#if @site.cover_image}}
<div class="blog-cover cover">
<img
srcset="{{img_url @site.cover_image size="s"}} 320w,
{{img_url @site.cover_image size="m"}} 640w,
{{img_url @site.cover_image size="l"}} 960w,
{{img_url @site.cover_image size="xl"}} 1920w"
src="{{img_url @site.cover_image size="xl"}}"
alt="{{@site.title}}" />
</div>
{{/if}}
</div>
</header>
<div id="index" class="container">
<main class="content" role="main">
{{> "loop"}}
</main>
</div>