forked from zutrinken/attila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
42 lines (37 loc) · 1.14 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
31
32
33
34
35
36
37
38
39
40
41
42
{{!< default}}
<header id="blog-header"{{#if @site.cover_image}} class="has-cover"{{/if}}>
<div class="inner">
<nav id="navigation">
{{#if @site.logo}}
<span class="blog-logo">
<a href="{{@site.url}}"><img src="{{@site.logo}}" alt="{{t "Blog Logo"}}" /></a>
</span>
{{/if}}
{{#if @site.navigation}}
<span id="menu-button" class="nav-button">
<a class="menu-button"><i class="ic ic-menu"></i> {{t "Menu"}}</a>
</span>
{{/if}}
</nav>
<h1 class="blog-name"><a href="{{@site.url}}">{{@site.title}}</a></h1>
{{#if @site.description}}
<span class="blog-description">{{@site.description}}</span>
{{/if}}
{{#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>