forked from zutrinken/attila
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.hbs
37 lines (30 loc) · 784 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
29
30
31
32
33
34
35
36
37
{{!< default}}
{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}
<header class="post-header">
<div class="inner">
<h1 class="post-title">{{{title}}}</h1>
</div>
</header>
<main class="content" role="main">
<article class="{{post_class}}">
<div class="inner">
<section class="post-content">
{{content}}
</section>
</div>
</article>
</main>
{{/post}}
{{!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs --}}
{{#contentFor "scripts"}}
<script>
$(document).ready(function () {
var post = $('.post-content');
// Responsive videos with fitVids
post.fitVids();
// Format code blocks and add line numbers
codestyling();
});
</script>
{{/contentFor}}