-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
81 lines (78 loc) · 3.49 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
title: Upcoming JavaScript events, conferences and meetings in the Netherlands.
layout: default
---
<div class="page-wrap-header">
<div class="header-container">
<header>
<div class="parts">
<div class="logo">
<object type="image/svg+xml" data="images/nljs.svg"></object>
</div>
<div class="divider"></div>
<div class="description">
<p>
Upcoming JavaScript events, conferences and meetings in the Netherlands.
</p>
<p>
<a href="/add-event">Add your own event</a>, <a href="https://github.com/nl-js/nl-js.github.io/issues">participate</a> and be up to date.
</p>
</div>
</div>
</header>
</div>
</div>
<div class="page-wrap-events">
<div class="events-container">
<div class="events">
<dl>
{% assign post_index = 1 %}
{% capture nowunix %}{{ site.time | date: '%s' | minus: 86400 }}{% endcapture %}
{% for post in site.posts reversed %}
{% assign postUnix = post.date | date: "%s" %}
{% if postUnix > nowunix %}
{% assign postMonth = post.date | date: "%y %m" %}
{% assign postYear = post.date | date: "%Y" %}
{% if post_index == 1 %}
{% assign firstPostYear = post.date | date: "%Y" %}
{% endif %}
<dd class="item">
{% if post_index == 1 or postMonth != previousPostMonth %}
<div class="month-name">
<div>
{{ post.date | date: "%B" }}
{% if firstPostYear != postYear %}{{ postYear }}{% endif %}
</div>
</div>
{% assign previousPostMonth = post.date | date: "%y %m" %}
{% endif %}
<div id="{{ post.id }}" class="item-post">
<div class="time">
<span class="wt">
<time datetime="{{ post.date | date: ' %Y-%m-%d ' }}">
<span>{{ post.date | date: "%a" }}</span>
<span>{{ post.date | date: "%d" }}</span>
</time>
</span> -
<span class="title">
<a href="{{ post.href }}">{{ post.title }}</a>
</span>
</div>
<div class="details">
<div class="info">
<span><strong>Time:</strong> {{ post.time }}</span>
<span><strong>Venue: </strong>{{ post.venue }}</span>
<span><strong>Ticket:</strong> {{ post.ticket }}</span>
</div>
</div>
</div>
</dd>
{% assign post_index = post_index | plus: 1 %}
{% endif %}
{% endfor %}
</dl>
</div>
</div>
</div>
<canvas id="canvas" resize></canvas>
<canvas id="canvas2" resize></canvas>