-
Notifications
You must be signed in to change notification settings - Fork 0
/
post-page.hbs
59 lines (47 loc) · 1.63 KB
/
post-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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{{> site-head}}
<main>
{{#if @customHTML.beforePost}}
{{@customHTML.beforePost}}
{{/if}}
<div class="container my-5">
<div class="row">
<div class="sidebar col-md-4 order-md-last">
{{> site-sidebar}}
</div>
{{#post}}
<article class="post col-md">
<header class="mb-4">
<h1>
{{title}}
</h1>
</header>
<div class="page-entry">
{{#featuredImage}}
{{#if url}}
<figure>
<img
src="{{url}}"
sizes="{{sizes.post}}"
srcset="{{srcset.post}}"
alt="{{alt}}">
{{#checkIfAny caption credits}}
<figcaption>
{{caption}}
{{credits}}
</figcaption>
{{/checkIfAny}}
</figure>
{{/if}}
{{/featuredImage}}
{{!-- The POST-PAGE CONTENT text (and embedded images, etc.) --}}
{{{text}}}
</div>
</article>
{{/post}}
</div>
</div>
{{#if @customHTML.afterPost}}
{{@customHTML.afterPost}}
{{/if}}
</main>
{{> site-footer}}