-
Notifications
You must be signed in to change notification settings - Fork 2
/
page.hbs
30 lines (27 loc) · 1.05 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
{{!-- Include the header from partials/header.hbs --}}
{{> header}}
{{!-- Switch to the post context --}}
{{#post}}
{{!-- Show the post image if there is one --}}
<header class="cover" {{#if image}}style="background-image: url('{{img image}}');"{{/if}}>
<div class="content">
{{!-- The post title should have editable="true" here --}}
<h1 class="title">{{title editable="true"}}</h1>
</div>
</header>
<div class="container">
<div class="row">
<div class="col-md-8 push-md-2 col-sm-10 push-sm-1 col-12">
{{!-- The `post_class` helper outputs useful classes for styling --}}
<article class="{{post_class}}">
{{!-- The post content should have editable="true" here --}}
<div class="post-content">
{{content editable="true"}}
</div>
</article>
</div>
</div>
</div>
{{/post}}
{{!-- Include the footer from partials/footer.hbs --}}
{{> footer}}