forked from zutrinken/attila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.hbs
40 lines (34 loc) · 1.02 KB
/
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
34
35
36
37
38
39
40
{{!< default}}
{{#post}}
<header id="post-header"{{#if 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>
{{else}}
<span id="home-button" class="nav-button">
<a class="home-button" href="{{@site.url}}" title="{{t "Home"}}"><i class="ic ic-arrow-left"></i> {{t "Home"}}</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="post-title">{{{title}}}</h1>
{{#if cover_image}}<div class="post-cover cover" style="background-image: url('{{img_url 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}}