-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathblog.hbs
31 lines (26 loc) · 1016 Bytes
/
blog.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
{{!-- Include the header from partials/header.hbs --}}
{{> header}}
{{!-- Show the cover photo --}}
<header class="cover" {{#if @settings.cover}}style="background-image: url('{{img @settings.cover}}');"{{/if}}>
<div class="content">
{{!-- Site title & tagline --}}
<h1 class="title">{{@settings.title}}</h1>
<div class="subtitle">{{@settings.tagline}}</div>
{{!-- Show the down arrow on page 1 --}}
{{#is pagination.current_page '1'}}
<a href="#continue" class="continue"><span class="hidden">Continue</span></a>
{{/is}}
</div>
</header>
<div class="container">
<div class="row">
<div class="col-md-8 push-md-2 col-sm-10 push-sm-1 col-12">
{{!-- Include the post loop from partials/loop.hbs --}}
{{> loop}}
{{!-- Include pagination from partials/pagination.hbs --}}
{{> pagination}}
</div>
</div>
</div>
{{!-- Include the footer from partials/footer.hbs --}}
{{> footer}}