forked from zutrinken/attila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.hbs
33 lines (27 loc) · 766 Bytes
/
page.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
{{!< default}}
{{#post}}
<header id="blog-header"{{#if @blog.cover_image}} class="has-cover"{{/if}}>
<div class="inner">
<nav id="navigation">
{{#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>
<a href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog logo" style="margin: 0"/></a>
{{#if @blog.cover_image}}
<div class="blog-cover cover" style="background-image: url('{{img_url @blog.cover_image}}');"></div>
{{/if}}
</div>
</header>
<main class="content" role="main">
<article class="{{post_class}}">
<div class="inner">
<section class="post-content">
{{content}}
</section>
</div>
</article>
</main>
{{/post}}