-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpage.hbs
28 lines (22 loc) · 927 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
{{!< default}}
{{#post}}
<article class="gh-article {{post_class}} site-content">
<header class="gh-header gh-canvas">
<h1 class="display-5 post-title">{{title}}</h1>
{{#if custom_excerpt}}
<p class="lead mb-4 mt-2 text-secondary">{{custom_excerpt}}</p>
{{/if}}
{{#if feature_image}}
<hr />
<img class="gh-feature-image rounded" srcset="{{img_url feature_image size="s"}} 300w,
{{img_url feature_image size="m"}} 600w,
{{img_url feature_image size="l"}} 1000w,
{{img_url feature_image size="xl"}} 2000w" sizes="(max-width: 1000px) 1000px, 2000px"
loading="lazy" src="{{img_url feature_image size="xl"}}" alt="{{title}}" />
{{/if}}
</header>
<div class="gh-content gh-canvas mt-5">
{{content}}
</div>
</article>
{{/post}}