forked from kracekumar/bangalore.python.org.in
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdefault.html
More file actions
390 lines (306 loc) · 20.7 KB
/
default.html
File metadata and controls
390 lines (306 loc) · 20.7 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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
---
layout: compress
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="{{ site.favicon | prepend: site.baseurl | prepend: site.url }}">
<meta name="theme-color" content="#fffff" />
<title>
{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "authors" %}{{ page.name }}{% else %}{{ page.title }}{% endif %}
| {{site.name}}</title>
<meta name="description"
content="{% if page.description %}{{ page.description }}{% elsif page.type == "year" %}BangPyper's archive of posts during {{ page.type }} {{ page.date | date: "%Y"}}{% elsif page.type == "month" %}BangPyper's archive of posts in the {{ page.type }} of {{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}BangPypers's archive of posts on {{ page.type }} of {{ page.date | date: "%d %B %Y"}}{% elsif page.type == "category" %}BangPyper's archive of posts under {{ page.type }}: {{ page.title }}{% elsif page.type == "authors" %}BangPyper's arvhive of posts contributed by {{ page.name }}{% else %}{{ site.description }}{% endif %}">
<!-- <meta property="fb:app_id" content="" />
<meta name="fb:page_id" content="" /> -->
<meta property="og:title"
content="{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "authors" %}{{ page.name }}{% else %}{{ page.title }}{% endif %} | {{site.name}}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ page.url | prepend: site.baseurl | prepend: site.url }}">
<!-- <meta property="og:email" content=""/> -->
<!-- <meta property="og:phone_number" content=""/> -->
<meta property="og:locality" content="Bangalore" />
<meta property="og:region" content="Karnataka" />
<meta property="og:country-name" content="INDIA" />
<meta property="og:site_name"
content="{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "tag" %}{% assign author = site.authors[page.title] %}{{ author.display_name }}{% else %}{{ page.title }}{% endif %} | {{site.name}}" />
<meta property="og:image"
content="{% if page.image %}{% if page.image contains "://" %}{{ page.image }}{% else %}{{ page.image | prepend: site.baseurl | prepend: site.url }}{% endif %}{% elsif page.type == "tag" %}{% assign author = site.data.authors[page.title] %}{% if author.logo %}{% if author.logo contains "://" %}{{ author.logo }}{% else %}{{ author.logo | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}" />
<meta property="og:image:width" content="630" />
<meta property="og:image:height" content="630" />
<meta property="og:description"
content="{% if page.description %}{{ page.description }}{% elsif page.type == "year" %}BangPyper's archive of posts during {{ page.type }} {{ page.date | date: "%Y"}}{% elsif page.type == "month" %}BangPyper's archive of posts in the {{ page.type }} of {{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}BangPypers's archive of posts on {{ page.type }} of {{ page.date | date: "%d %B %Y"}}{% elsif page.type == "category" %}BangPyper's archive of posts under {{ page.type }}: {{ page.title }}{% elsif page.type == "authors" %}BangPyper's arvhive of posts contributed by {{ page.name }}{% else %}{{ site.description }}{% endif %}">
<meta name="twitter:card" content="summary">
<meta name="twitter:creator" content="@__bangpypers__">
<meta name="twitter:url" content="{{ page.url | prepend: site.baseurl | prepend: site.url }}">
<meta name="twitter:site" content="@__bangpypers__">
<meta name="twitter:title"
content="{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "authors" %}{{ page.name }}{% else %}{{ page.title }}{% endif %} | {{site.name}}">
<meta name="twitter:description"
content="{% if page.description %}{{ page.description }}{% elsif page.type == "year" %}BangPyper's archive of posts during {{ page.type }} {{ page.date | date: "%Y"}}{% elsif page.type == "month" %}BangPyper's archive of posts in the {{ page.type }} of {{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}BangPypers's archive of posts on {{ page.type }} of {{ page.date | date: "%d %B %Y"}}{% elsif page.type == "category" %}BangPyper's archive of posts under {{ page.type }}: {{ page.title }}{% elsif page.type == "authors" %}BangPyper's arvhive of posts contributed by {{ page.name }}{% else %}{{ site.description }}{% endif %}">
<meta name="twitter:domain" content="{{ site.url }}">
<meta name="twitter:image:src"
content="{% if page.image %}{% if page.image contains "://" %}{{ page.image }}{% else %}{{ page.image | prepend: site.baseurl | prepend: site.url }}{% endif %}{% elsif page.type == "tag" %}{% assign author = site.data.authors[page.title] %}{% if author.logo %}{% if author.logo contains "://" %}{{ author.logo }}{% else %}{{ author.logo | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}">
<meta name="keywords" content="BangPypers, Python, Bangalore Python, Python Bangalore, Python User Group" />
<meta name="author" content="ZeoSpec" />
<meta name="subject" content="The Bangalore Python User Group">
<meta name="copyright" content="BangPypers">
<meta name="Classification" content="Community">
<meta name="designer" content="ZeoSpec">
<!-- <meta name="reply-to" content=""> -->
<meta name="owner" content="BangPypers">
<meta name="url" content="http://bangalore.pythonindia.org/">
<meta name="identifier-URL" content="http://bangalore.pythonindia.org/">
<meta name="directory" content="submission">
<meta name="category" content="community">
<meta http-equiv="cache-control" content="public" />
<meta http-equiv="Expires" content="0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link href="{{ site.baseurl }}/assets/css/screen.css" rel="stylesheet">
<link href="{{ site.baseurl }}/assets/css/main.css" rel="stylesheet">
<script src="{{ site.baseurl }}/assets/js/jquery.min.js"></script>
{% include structuredata.html %}
{% if site.google_analytics %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{site.google_analytics}}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{site.google_analytics}}');
</script>
{% endif %}
</head>
{% capture layout %}{% if page.layout %}layout-{{ page.layout }}{% endif %}{% endcapture %}
<body class="{{ layout }}">
<!-- defer loading of font and font awesome -->
<noscript id="deferred-styles">
<link href="https://fonts.googleapis.com/css?family=Righteous%7CMerriweather:300,300i,400,400i,700,700i"
rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
</noscript>
<!-- Begin Menu Navigation
================================================== -->
<nav class="navbar navbar-expand-lg navbar-light bg-white fixed-top mediumnavigation nav-down">
<div class="container pr-0">
<!-- Begin Logo -->
<a class="navbar-brand" href="{{ site.baseurl }}/">
<img src="{{ site.logo | prepend: site.baseurl | prepend: site.url }}" alt="{{ site.name }}">
</a>
<!-- End Logo -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarMediumish"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarMediumish">
<!-- Begin Menu -->
<ul class="navbar-nav ml-auto">
{% if page.url == "/" %}
<li class="nav-item active">
{% else %}
<li class="nav-item">
{% endif %}
<a class="nav-link" href="{{ site.baseurl }}/">Home</a>
</li>
{% if page.url == "/about/" %}
<li class="nav-item active">
{% else %}
<li class="nav-item">
{% endif %}
<a class="nav-link" href="{{ site.baseurl }}/about/">About</a>
</li>
<!-- {% if page.url == "/library/" %}
<li class="nav-item active">
{% else %}
<li class="nav-item">
{% endif %}
<a class="nav-link" href="{{ site.baseurl }}/library/">Library</a>
</li> -->
{% if page.url == "/blog/" %}
<li class="nav-item active">
{% else %}
<li class="nav-item">
{% endif %}
<a class="nav-link" href="{{ site.baseurl }}/blog/">Monthly Meetup Blog</a>
</li>
{% if page.url == "/community-blog/" %}
<li class="nav-item active">
{% else %}
<li class="nav-item">
{% endif %}
<a class="nav-link" href="{{ site.baseurl }}/community-blog/">Community Blog</a>
</li>
<li class="nav-item">
<a target="_blank" rel="noopener noreferrer" class="nav-link"
href="https://mail.python.org/mailman/listinfo/bangpypers">Mailing List</a>
</li>
<li class="nav-item">
<a target="_blank" rel="noopener noreferrer" class="nav-link"
href="https://www.meetup.com/BangPypers/">Meetup <i class="fab fa-meetup"></i></a>
</li>
<li class="nav-item">
<a target="_blank" rel="noopener noreferrer" class="nav-link"
href="https://twitter.com/__bangpypers__"><i class="fab fa-twitter"></i></a>
</li>
<li class="nav-item">
<a target="_blank" rel="noopener noreferrer" class="nav-link"
href="https://discord.gg/Tnhbqh33zd"><i class="fab fa-brands fa-discord"></i></a>
</li>
<li class="nav-item">
<a target="_blank" rel="noopener noreferrer" class="nav-link"
href="https://github.com/bangpypers"><i class="fab fa-github"></i></a>
</li>
<li class="nav-item">
<a target="_blank" rel="noopener noreferrer" class="nav-link"
href="https://instagram.com/bangpypers"><i class="fab fa-instagram"></i></a>
</li>
<li class="nav-item">
<a target="_blank" rel="noopener noreferrer" class="nav-link"
href="https://www.linkedin.com/company/bangpypers/about/"><i class="fab fa-linkedin"></i></a>
</li>
{% include search-lunr.html %}
</ul>
<!-- End Menu -->
</div>
</div>
</nav>
<!-- End Navigation
================================================== -->
<div class="site-content">
<div class="container">
<!-- Site Title
================================================== -->
<div class="mainheading">
<h1 class="sitetitle">{{ site.name }}</h1>
<p class="lead">
{{ site.description }}
</p>
</div>
<!-- Content
================================================== -->
<div class="main-content">
{{ content }}
</div>
<!-- Bottom Alert Bar
================================================== -->
<div class="alertbar">
<div class="container text-center">
<span><img src="{{ site.footer_img | prepend: site.baseurl | prepend: site.url }}"
alt="{{site.title}}">
<!-- Never miss a <b>update</b> from us, subscribe to our newsletter -->
</span>
<ul class="navbar-nav ml-auto" style="display:inline; margin: 2em;">
<li class="nav-item" style="display:inline; margin: 2em;">
<a href="{{ site.baseurl }}/">Home</a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a href="{{ site.baseurl }}/about/">About</a>
</li>
<!-- <li class="nav-item" style="display:inline; margin: 2em;">
<a href="{{ site.baseurl }}/library/">Library</a>
</li> -->
<li class="nav-item" style="display:inline; margin: 2em;">
<a href="{{ site.baseurl }}/blog/">Monthly Meetup Blog</a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a href="{{ site.baseurl }}/community-blog/">Community Blog</a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a href="{{ site.baseurl }}/coc/">COC</a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a target="_blank" rel="noopener noreferrer"
href="https://mail.python.org/mailman/listinfo/bangpypers">Mailing List</a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a target="_blank" rel="noopener noreferrer"
href="https://www.meetup.com/BangPypers/">Meetup <i class="fab fa-meetup"></i></a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a target="_blank" rel="noopener noreferrer"
href="https://twitter.com/__bangpypers__"><i class="fab fa-twitter"></i></a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a target="_blank" rel="noopener noreferrer"
href="https://discord.gg/Tnhbqh33zd"><i class="fab fa-brands fa-discord"></i></a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a target="_blank" rel="noopener noreferrer"
href="https://github.com/bangpypers"><i class="fab fa-github"></i></a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a target="_blank" rel="noopener noreferrer"
href="https://instagram.com/bangpypers"><i class="fab fa-instagram"></i></a>
</li>
<li class="nav-item" style="display:inline; margin: 2em;">
<a target="_blank" rel="noopener noreferrer"
href="https://www.linkedin.com/company/bangpypers/about/"><i class="fab fa-linkedin"></i></a>
</li>
</ul>
</div>
</div>
</div><!-- /.container -->
<!-- Categories Jumbotron ================================================== -->
<div class="jumbotron fortags">
<div class="d-flex h-100">
<!-- <div class="col-md-4 align-self-center text-center h-100">
<div class="d-flex align-items-center justify-content-center h-100">
<h2 class="d-md-block d-none align-self-center">Explore →</h2>
</div>
</div> -->
<div class="col-md-8 align-self-center text-center">
{% assign tags_list = site.categories %}
{% if tags_list.first[0] == null %}
{% for tag in tags_list %}
<a href="{{ site.baseurl }}/archives/{{ tag }}">{{ tag | capitalize }} {{ site.tags[tag].size }}</a>
{% endfor %}
{% else %}
{% for tag in tags_list %}
<a href="{{ site.baseurl }}/archives/{{ tag[0] }}">{{ tag[0] | capitalize }} ({{ tag[1].size }})</a>
{% endfor %}
{% endif %}
{% assign tags_list = nil %}
</div>
</div>
</div>
<!-- Begin Footer
================================================== -->
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-6 col-sm-6 text-center text-lg-left">
Copyright © {{ site.time | date: "%Y" }} {{ site.name }}
</div>
<div class="col-md-6 col-sm-6 text-center text-lg-right">
<a target="_blank" rel="noopener noreferrer"
href="https://github.com/wowthemesnet/mediumish-theme-jekyll">Mediumish</a> design rewritten
by <a target="_blank" rel="noopener noreferrer" href="https://zeospec.com/">ZeoSpec</a>
</div>
</div>
</div>
</footer>
<!-- End Footer
================================================== -->
</div>
<!-- /.site-content>
Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"
integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous">
</script>
<script src="{{ site.baseurl }}/assets/js/mediumish.js"></script>
{% if site.lazyimages == "enabled" %}
<script src="{{ site.baseurl }}/assets/js/lazyload.js"></script>
{% endif %}
<script src="{{ site.baseurl }}/assets/js/ie10-viewport-bug-workaround.js"></script>
<!-- <script id="dsq-count-scr" src="//{{site.disqus}}.disqus.com/count.js"></script> -->
</body>
</html>