-
-
Notifications
You must be signed in to change notification settings - Fork 463
/
index.html
60 lines (57 loc) · 1.74 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
49
50
51
52
53
54
55
56
57
58
59
60
---
title: Home
layout: default
background: '/img/bg-index.jpg'
---
<!-- Home Intro
================================================== -->
{% if page.url == "/" %}
<div class="rounded mb-5 hero">
<div class="row align-items-center justify-content-between">
<div class="col-md-6">
<h1 class="font-weight-bold mb-4 serif-font">Let me teach you how to become successful online</h1>
<p class="lead mb-4">My name is Lyam and I'm here to share with you my knowledge and experience of over 10 years of monetizing my blog.</p>
<a href="{{site.baseurl}}/about" class="btn btn-dark text-white px-5 btn-lg">About me</a>
</div>
<div class="col-md-6 text-right pl-0 pl-lg-4">
<img class="intro" height="500" src="{{site.baseurl}}/assets/images/intro.svg">
</div>
</div>
</div>
{% endif %}
<!-- Featured
================================================== -->
<section class="row">
{% for post in site.posts %}
{% if post.featured == true %}
<div class="col-md-4 mb-5">
{% include postbox.html %}
</div>
{% endif %}
{% endfor %}
</div>
</section>
<!-- Posts List with Sidebar (except featured)
================================================== -->
<section class="row">
<div class="col-sm-8">
<div class="row">
{% for post in paginator.posts %}
{% unless post.featured == true %}
<div class="col-md-6 mb-5">
{% include postbox.html %}
</div>
{% endunless %}
{% endfor %}
</div>
<!-- Pagination -->
<div class="bottompagination">
<span class="navigation" role="navigation">
{% include pagination.html %}
</span>
</div>
</div>
<div class="col-sm-4">
{% include sidebar.html %}
</div>
</section>