-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpage.hbs
75 lines (61 loc) · 2.02 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
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{{!< default}}
{{#post}}
<main class="site__content">
<article class="article">
{{#match @page.show_title_and_feature_image}}
<header class="section background-alternate print-padding-none">
<div class="container container--article">
<h1 class="article__title js-nbsp">{{title}}</h1>
<h2 class="article__summary js-nbsp">{{excerpt}}</h2>
</div>
</header>
{{/match}}
<section class="section section--roomy-bottom">
<div class="container container--article">
<div
class="
editor
{{#has tag="#page-long-text"}}
editor--long-text
{{/has}}
js-nbsp
js-external-links
js-heading-anchors
"
>
{{content}}
</div>
</div>
</section>
</article>
{{#get "posts"
filter="primary_tag:clanky"
include="authors,tags"
order="published_at DESC"
limit="3"
as |recent|
}}
{{#if recent}}
{{> "related-posts" posts=recent}}
{{/if}}
{{/get}}
</main>
{{/post}}
{{> "footer"}}
{{#contentFor "styles"}}
{{> "external/prism-css"}}
{{/contentFor}}
{{#contentFor "scripts"}}
{{> "external/prism-js"}}
{{/contentFor}}
{{#contentFor "snippets"}}
<template id="snippet__newsletter-signup__template">
{{> "snippets/newsletter-signup"}}
</template>
<template id="snippet__post-box-ad__template">
{{> "snippets/post-box-ad"}}
</template>
<template id="snippet__post-breakout-ad__template">
{{> "snippets/post-breakout-ad"}}
</template>
{{/contentFor}}