-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
48 lines (44 loc) · 1.13 KB
/
index.html
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
---
layout: default
---
<!-- begin hero -->
{% if site.hero.image %}
<section class="hero">
<div class="hero__inner">
<div class="hero__image">
<img class="lazy" data-src="{{site.baseurl}}{{site.hero.image}}" alt="{{site.hero.title}}">
</div>
<div class="hero__content">
<h1 class="hero__title">{{site.hero.title}}</h1>
<p class="hero__desc">{{site.hero.description}}</p>
</div>
</div>
</section>
{% else %}
<section class="hero-without-image">
<div class="hero-inner">
<div class="hero-content">
<h1 class="hero__title">{{site.hero.title}}</h1>
<p class="hero__desc">{{site.hero.description}}</p>
</div>
</div>
</section>
{% endif %}
<!-- begin hero -->
{% include featured-posts.html %}
<div class="container">
<div class="row">
<div class="col col-12">
<div class="container__inner">
<div class="row grid">
{% if site.posts.size > 0 %}
{% for post in paginator.posts %}
{% include article-content.html %}
{% endfor %}
{% endif %}
</div>
</div>
</div>
</div>
</div>
{% include pagination.html %}