forked from codebygina/mundana-theme-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
254 lines (223 loc) · 11.3 KB
/
Copy pathindex.html
File metadata and controls
254 lines (223 loc) · 11.3 KB
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
---
title: "Assam AI Initiative"
layout: default
pagination:
enabled: true
description: "A community for AI enthusiast in Assam"
---
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://cdn.jsdelivr.net/npm/add-to-calendar-button@2" async defer></script>
<div class="container" style="margin-top: 60px;">
{% if page.url == "/" %}
<!-- Sticky - add sticky tag to the post you want to highlight here - tags: [sticky] -->
{% for post in site.posts %}
{% if post.tags contains "aaii-main" %}
<div class="row">
<div class="col-md-3">
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v12.0" nonce="R507opPm"></script>
<div class="fb-page" data-href="https://www.facebook.com/Assam-Artificial-Intelligence-Initiative-AAII-%E0%A6%86%E0%A6%87-109891140892931/" data-tabs="timeline" data-width="" data-height="100%" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true">
<blockquote cite="https://www.facebook.com/Assam-Artificial-Intelligence-Initiative-AAII-%E0%A6%86%E0%A6%87-109891140892931/" class="fb-xfbml-parse-ignore">
<a href="https://www.facebook.com/Assam-Artificial-Intelligence-Initiative-AAII-%E0%A6%86%E0%A6%87-109891140892931/">Assam Artificial Intelligence Initiative - AAII - আই</a>
</blockquote>
</div>
<br>
<div class="row" >
</div>
</div>
<div class="col-md-9">
<div class="jumbotron jumbotron-fluid jumbotron-home pt-0 pb-0 mb-2rem bg-lightblue position-relative">
<div class="pl-4 pr-0 h-100 tofront">
<div class="row justify-content-between">
<div class="col-md-6 pt-6 pb-6 pr-lg-4 align-self-center">
<h1 class="mb-3">{{post.title}}</h1>
<p class="mb-3 lead">
{{ post.excerpt | strip_html | strip_newlines }}
</p>
<a href="{{site.baseurl}}{{post.url}}" class="btn btn-dark">Read More</a>
<a href="https://groups.google.com/u/3/g/aaiiaxom-members" class="btn btn-primary">Join our Google Group</a>
</div>
<div class="col-md-6 d-none d-md-block pr-0" style="background-size:contain; background-size: 550px 370px;background-position: center; background-repeat: no-repeat;background-image:url({{site.baseurl}}/{{ post.image }});">
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
<br>
<h4 class="font-weight-bold spanborder"><span>Pinned post</span></h4>
<!-- Begin post excerpts, let's highlight the first 3 posts on top -->
{% for post in site.posts %}
{% if post.tags contains "aaii-news" %}
{% assign latest_post = post %}
<div class="row remove-site-content-margin">
<div class="col-md-6">
<div class="card border-0 mb-4 box-shadow">
<a href="{{site.baseurl}}{{latest_post.url}}">
<img class="w-100" src="{% if latest_post.image contains "://" %}{{ latest_post.image }}{% else %}{{ latest_post.image | absolute_url }}{% endif %}" alt="{{ latest_post.title }}">
</a>
<div class="card-body px-0 pb-0 d-flex flex-column align-items-start">
<h2 class="h4 font-weight-bold">
<a class="text-dark" href="{{site.baseurl}}{{latest_post.url}}">{{ latest_post.title }}</a>
</h2>
<p class="excerpt">
{{ latest_post.subtitle | strip_html | strip_newlines | truncate: 400 }}
</p>
<add-to-calendar-button
name= "{{ latest_post.title }}"
description="Title: {{ latest_post.title }}<br/>Speaker: {{ latest_post.subtitle | strip_html | strip_newlines | truncate: 400 }}<br/>YouTube link: {{ latest_post.youtube }}"
startDate="{{ latest_post.start_date }}"
endDate="{{ latest_post.start_date }}"
startTime="{{ latest_post.start_time }}"
endTime="{{ latest_post.start_time }}"
location="{{ latest_post.youtube }}"
options="['Apple','Google','iCal','Microsoft365','Outlook.com','Yahoo']"
timeZone="Asia/Kolkata"
>
</add-to-calendar-button>
<div>
<small class="d-block text-muted">
<span class="catlist">
{% for category in latest_post.categories %}
<a class="text-capitalize text-muted smoothscroll" href="{{site.baseurl}}/categories.html#{{ category | downcase }}">{{ category }}</a><span class="sep">, </span>
{% endfor %}
</span>
</small>
<small class="text-muted">
Posted on {{ latest_post.date | date: '%b %d, %Y' }}
</small>
</div>
</div>
</div>
</div>
<div class="col-md-6">
{%- assign third_post = site.posts[0] -%}
</div>
</div>
{% endif %}
{% endfor %}
<!-- upcoming talks -->
<!-- latest post -->
{% if site.posts[0].tags contains "aaii-news" %}
{% assign latest_post = site.posts[1] %}
{% else %}
{% assign latest_post = site.posts[0] %}
{% endif %}
<!-- past events -->
<h4 class="font-weight-bold spanborder"><span>Past Events</span></h4>
<!-- Begin post excerpts, let's highlight the first 4 posts on top -->
<div class="row remove-site-content-margin">
<!-- latest post -->
{% assign latest_post = site.posts[1] %}
<div class="col-md-6">
<div class="card border-0 mb-4 box-shadow">
<a href="{{site.baseurl}}{{latest_post.url}}">
<img class="w-100" src="{% if latest_post.image contains "://" %}{{ latest_post.image }}{% else %}{{ latest_post.image | absolute_url }}{% endif %}" alt="{{ latest_post.title }}">
</a>
<div class="card-body px-0 pb-0 d-flex flex-column align-items-start">
<h2 class="h4 font-weight-bold">
<a class="text-dark" href="{{site.baseurl}}{{latest_post.url}}">{{ latest_post.title }}</a>
</h2>
<p class="excerpt">
{{ latest_post.subtitle | strip_html | strip_newlines | truncate: 136 }}
</p>
<div>
<small class="d-block text-muted">
<span class="catlist">
{% for category in latest_post.categories %}
<a class="text-capitalize text-muted smoothscroll" href="{{site.baseurl}}/categories.html#{{ category | downcase }}">{{ category }}</a><span class="sep">, </span>
{% endfor %}
</span>
</small>
<small class="text-muted">
Posted on {{ latest_post.date | date: '%b %d, %Y' }}
</small>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<!-- second latest post -->
{%- assign second_post = site.posts[2] -%}
<div class="mb-3 d-flex align-items-center">
{% if second_post.image %}
<div class="col-md-6">
<a href="{{site.baseurl}}{{second_post.url}}">
<img class="w-100" src="{% if second_post.image contains "://" %}{{ second_post.image }}{% else %}{{ second_post.image | absolute_url }}{% endif %}" alt="{{ second_post.title }}">
</a>
</div>
{% endif %}
<div>
<h2 class="mb-2 h6 font-weight-bold">
<a class="text-dark" href="{{site.baseurl}}{{second_post.url}}">{{ second_post.title }}</a>
</h2>
<small class="d-block text-muted">
<span class="catlist">
{% for category in second_post.categories %}
<a class="text-capitalize text-muted smoothscroll" href="{{site.baseurl}}/categories.html#{{ category | downcase }}">{{ category }}</a><span class="sep">, </span>
{% endfor %}
</span>
</small>
<small class="text-muted">
Posted on {{ second_post.date | date: '%b %d, %Y' }}
</small>
</div>
</div>
<!-- third latest post -->
{%- assign third_post = site.posts[3] -%}
<div class="mb-3 d-flex align-items-center">
{% if third_post.image %}
<div class="col-md-6">
<a href="{{site.baseurl}}{{third_post.url}}">
<img class="w-100" src="{% if third_post.image contains "://" %}{{ third_post.image }}{% else %}{{site.baseurl}}/{{ third_post.image }}{% endif %}" alt="{{ third_post.title }}">
</a>
</div>
{% endif %}
<div>
<h2 class="mb-2 h6 font-weight-bold">
<a class="text-dark" href="{{site.baseurl}}{{third_post.url}}">{{ third_post.title }}</a>
</h2>
<small class="d-block text-muted">
<span class="catlist">
{% for category in third_post.categories %}
<a class="text-capitalize text-muted smoothscroll" href="{{site.baseurl}}/categories.html#{{ category | downcase }}">{{ category }}</a><span class="sep">, </span>
{% endfor %}
</span>
</small>
<small class="text-muted">
Posted on {{ third_post.date | date: '%b %d, %Y' }}
</small>
</div>
</div>
<!-- fourth latest post -->
{%- assign fourth_post = site.posts[4] -%}
<div class="mb-3 d-flex align-items-center">
{% if fourth_post.image %}
<div class="col-md-6">
<a href="{{site.baseurl}}{{fourth_post.url}}">
<img class="w-100" src="{% if fourth_post.image contains "://" %}{{ fourth_post.image }}{% else %}{{site.baseurl}}/{{ fourth_post.image }}{% endif %}" alt="{{ fourth_post.title }}">
</a>
</div>
{% endif %}
<div>
<h2 class="mb-2 h6 font-weight-bold">
<a class="text-dark" href="{{site.baseurl}}{{fourth_post.url}}">{{ fourth_post.title }}</a>
</h2>
<small class="d-block text-muted">
<span class="catlist">
{% for category in fourth_post.categories %}
<a class="text-capitalize text-muted smoothscroll" href="{{site.baseurl}}/categories.html#{{ category | downcase }}">{{ category }}</a><span class="sep">, </span>
{% endfor %}
</span>
</small>
<small class="text-muted">
Posted on {{ fourth_post.date | date: '%b %d, %Y' }}
</small>
</div>
</div>
</div>
</div>
{% endif %} <!--endif page url is / -->
</div>