-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-people.hbs
46 lines (34 loc) · 1.2 KB
/
page-people.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
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
{{!-- The big featured header, it uses blog cover image as a BG if available --}}
<header class="site-header outer">
{{> "site-nav"}}
</header>
{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}
<main id="site-main"
class="site-main site-main--with-toc outer outer--with-toc {{#if feature_image}}site-main--with-splash-image{{/if}}">
<div class="inner">
<article class="post-full {{post_class}} {{#unless feature_image}}no-image{{/unless}}">
{{> "post-splash"}}
<section class="post-full-content post-full-content--with-toc">
<div class="post-content">
{{> "page-toc"}}
{{content}}
</div>
</section>
</article>
</div>
</main>
{{/post}}
{{!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs --}}
{{#contentFor "scripts"}}
<script>
$(function () {
var $postContent = $(".post-full-content");
$postContent.fitVids();
});
</script>
<script type="text/javascript" src="{{asset "built/toc.js"}}"></script>
{{/contentFor}}