generated from TryGhost/Starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.hbs
25 lines (24 loc) · 809 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
{{!< default}}
{{#post}}
<article class="wl-article {{post_class}}">
{{#match @page.show_title_and_feature_image}}
<header class="wl-header wl-canvas">
<h1 class="wl-title">{{title}}</h1>
{{#if custom_excerpt}}
<p class="wl-excerpt">{{custom_excerpt}}</p>
{{/if}}
{{#if feature_image}}
<figure class="wl-feature-image">
<img src="{{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}}
</header>
{{/match}}
<div class="wl-content wl-canvas">
{{content}}
</div>
</article>
{{/post}}