-
Notifications
You must be signed in to change notification settings - Fork 25
/
index.hbs
32 lines (26 loc) · 847 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 id="main-header"{{#if @blog.cover_image}} class="has-cover"{{/if}}>
<nav id="main-nav">
<span id="nav-link">
{{navigation}}
<a class="subscribe" href="{{@blog.url}}/rss/"><i class="icon-rss"></i> RSS</a>
</span>
</nav>
<a class="site-title" class="js-ajax-link js-show-index" href="{{@blog.url}}">
{{#if @blog.logo}}
<span class="site-logo"><img src="{{@blog.logo}}" alt="Logo" /></span>
{{/if}}
<h1 class="site-name">{{@blog.title}}</h1>
{{#if @blog.description}}
<span class="site-description">{{@blog.description}}</span>
{{/if}}
</a>
{{#if @blog.cover_image}}
<div class="site-cover" style="background-image: url({{img_url @blog.cover_image}})"></div>
{{/if}}
</header>
<div id="post-index" class="container">
<main class="content" role="main">
{{> "loop"}}
</main>
</div>