-
-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathpage.hbs
More file actions
29 lines (22 loc) · 684 Bytes
/
page.hbs
File metadata and controls
29 lines (22 loc) · 684 Bytes
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
{{!< default}}
{{#post}}
{{!-- Everything inside the #post tags pulls data from the page --}}
<main id="main">
<section class="post">
<header class="major">
<h1>{{title}}</h1>
</header>
{{#if feature_image}}
<figure class="image main">
<img src="{{img_url feature_image}}" alt="{{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}}" />
{{#if feature_image_caption}}
<figcaption>{{feature_image_caption}}</figcaption>
{{/if}}
</figure>
{{/if}}
<div class="content">
{{content}}
</div>
</section>
</main>
{{/post}}