-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-page-no-newsletter.hbs
55 lines (50 loc) · 1.37 KB
/
custom-page-no-newsletter.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
{{!--
This template is used for pages without Newsletter form.
--}}
{{!-- This block preloads specific assets for the page --}}
{{#contentFor "preload"}}
<link rel="preload" href="{{asset "css/post.css"}}" as="style" />
{{/contentFor}}
{{!-- This block loads specific styles for the page --}}
{{#contentFor "styles"}}
<link
rel="stylesheet"
type="text/css"
href="{{asset "css/post.css"}}"
media="screen"
/>
{{/contentFor}}
{{!-- The tag below means: insert everything in this file
into the {body} of the default.hbs template --}}
{{!< default}}
<div class="f-main-container">
{{> header}}
<main
class="f-standard-container"
role="main"
>
{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}
<div class="f-standard-wrapper in-post">
<article class="f-article">
{{> post-header}}
<div class="f-article-content js-article-content">
{{#if access}}
{{content}}
{{else}}
{{{html}}}
{{> post-access}}
{{/if}}
</div>
</article>
{{!-- Share --}}
{{> share-post}}
</div>
{{/post}}
{{> blob-shape}}
</main>
</div>
{{!-- This block loads specific scripts for the page --}}
{{#contentFor "scripts"}}
<script defer src="{{asset "js/post.js"}}"></script>
{{/contentFor}}