-
Notifications
You must be signed in to change notification settings - Fork 5
/
index-2.html
executable file
·158 lines (147 loc) · 6.23 KB
/
index-2.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
---
layout: default
pagination:
enabled: true
---
<div class="header-instagra" >
<div class="container-fluid p-0">
<div class="row no-gutters" id="instafeed">
</div>
</div>
</div>
<header class="header-top bg-dark justify-content-between navigation-dark">
<nav class="navbar navbar-expand-lg navigation ">
<div class="container">
<a class="navbar-brand d-lg-none" href="{{ site.baseURL | relative_url }}"><img src="{{site.site_logo | relative_url}}" alt="{{site.title}}" class="img-fluid"/></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="ti-menu"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
{% include navigation.html menu_class="mr-auto"%}
<ul class="list-inline mb-0 d-block d-lg-none dark-header-socials">
{% include social_profiles.html %}
</ul>
</div>
<ul class="header-socials-2 text-right d-none d-lg-block mb-0">
{% include social_profiles.html %}
</ul>
</div>
</nav>
</header>
<div class="header-logo py-5">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 text-center">
<a class="navbar-brand d-none d-lg-block" href="{{ site.baseURL | relative_url }}"><img src="{{site.site_logo | relative_url}}" alt="{{site.title}}" class="img-fluid"></a>
</div>
</div>
</div>
</div>
<section class="section-padding pt-4">
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
{% if paginator.page == 1 %}
{% for post in site.posts %}
{% if forloop.index == 1 %}
<article class="post-grid mb-5">
{% if post.post_image %}
<a class="post-thumb mb-4 d-block" href="{{post.url | relative_url}}.html">
<img src="{{post.post_image | relative_url}}" alt="{{post.title}}" class="img-fluid w-100"/>
</a>
{% endif %}
<span class="font-sm text-color letter-spacing text-uppercase post-meta font-extra">{{post.categories | limit: "1" }}</span>
<h2 class="mb-1 mt-2 post-title"><a href="{{post.url | relative_url}}.html">{{post.title}}</a></h2>
<div class="post-content mt-4">
<p>{{post.excerpt | strip_html | truncatewords: "30" }}</p>
</div>
</article>
{% endif %}
{% endfor %}
<div class="row">
{% for post in site.posts limit: "5" %}
{% if forloop.index != 1 %}
<div class="col-lg-6">
<article class="post-grid mb-5">
{% if post.post_image %}
<a class="post-thumb mb-4 d-block" href="{{post.url | relative_url}}.html">
<img src="{{post.post_image | relative_url}}" alt="" class="img-fluid"/>
</a>
{% endif %}
<span class="font-sm text-color letter-spacing text-uppercase post-meta font-extra">{{post.categories | limit: "1"}}</span>
<h3 class="post-title mb-1 mt-2"><a href="{{post.url | relative_url}}.html">{{post.title}}</a></h3>
<div class="post-content mt-4">
<p>{{post.excerpt | strip_html | truncatewords: "30" }}</p>
</div>
</article>
</div>
{% endif %}
{% endfor %}
</div>
{% for post in site.posts %}
{% if forloop.index == 6 %}
<article class="post-grid mb-5">
{% if post.post_image %}
<a class="post-thumb mb-4 d-block" href="{{post.url | relative_url}}.html">
<img src="{{post.post_image | relative_url}}" alt="{{post.title}}" class="img-fluid w-100"/>
</a>
{% endif %}
<span class="font-sm text-color letter-spacing text-uppercase post-meta font-extra">{{post.categories | limit: "1" }}</span>
<h2 class="mb-1 mt-2 post-title"><a href="{{post.url | relative_url}}.html">{{post.title}}</a></h2>
<div class="post-content mt-4">
<p>{{post.excerpt | strip_html | truncatewords: "30" }}</p>
</div>
</article>
{% endif %}
{% endfor %}
<div class="row">
{% for post in paginator.posts %}
{% if forloop.index > 6 %}
<div class="col-lg-6">
<article class="post-grid mb-5">
{% if post.post_image %}
<a class="post-thumb mb-4 d-block" href="{{post.url | relative_url}}.html">
<img src="{{post.post_image | relative_url}}" alt="" class="img-fluid"/>
</a>
{% endif %}
<span class="font-sm text-color letter-spacing text-uppercase post-meta font-extra">{{post.categories | limit: "1"}}</span>
<h3 class="post-title mb-1 mt-2"><a href="{{post.url | relative_url}}.html">{{post.title}}</a></h3>
<div class="post-content mt-4">
<p>{{post.excerpt | strip_html | truncatewords: "30" }}</p>
</div>
</article>
</div>
{% endif %}
{% endfor %}
</div>
{% else %}
<div class="row">
{% for post in paginator.posts %}
<div class="col-lg-6">
<article class="post-grid mb-5">
{% if post.post_image %}
<a class="post-thumb mb-4 d-block" href="{{post.url | relative_url}}.html">
<img src="{{post.post_image | relative_url}}" alt="" class="img-fluid"/>
</a>
{% endif %}
<span class="font-sm text-color letter-spacing text-uppercase post-meta font-extra">{{post.categories | limit: "1"}}</span>
<h3 class="post-title mb-1 mt-2"><a href="{{post.url | relative_url}}.html">{{post.title}}</a></h3>
<div class="post-content mt-4">
<p>{{post.excerpt | strip_html | truncatewords: "30" }}</p>
</div>
</article>
</div>
{% endfor %}
</div>
{% endif %}
<div class="m-auto">
{% include pagination.html %}
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
{% include sidebar.html %}
</div>
</div>
</div>
</section>
{% include footer_one.html %}