-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.hbs
37 lines (35 loc) · 1.2 KB
/
index.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}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
{{> header background=@site.cover_image}} {{!--Special header.hbs partial to generate the <header> tag--}}
<div class="container pt-5 text-white">
<div class="row py-5 text-center">
<div class="col pt-5">
<h1>
{{#if @site.logo}}
<img class="site-logo" src="{{img_url @site.logo size="l"}}" alt="{{@site.title}}" />
{{else}}
{{@site.title}}
{{/if}}
</h1>
<h2 class="lead">{{@site.description}}</h2>
</div>
</div>
<div class="row pt-5 pb-2">
<div class="col">
{{> "site-nav"}}
</div>
</div>
</div>
</header>
{{!-- The main content area --}}
<main id="site-main">
<div class="container">
<div class="post-feed">
{{#foreach posts}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
</div>
</div>
</main>