-
Notifications
You must be signed in to change notification settings - Fork 47
/
index.html
71 lines (69 loc) · 2.71 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
---
layout: default
title: WWWTF X Berlin
---
{% include intro.html %}
<main class="main main--events" id="events">
<div class="container">
<ol class="events">
{% for post in site.posts reversed %}
<li class="events__item {% if post.highlight %}event__highlight{% endif %}">
{% capture nowtime %}{{site.time | date: '%s'}}{% endcapture %}
{% capture posttime %}{{post.date | date: '%s'}}{% endcapture %}
<article class="event{% if nowtime > posttime %} event__past{% endif %}">
<div class="event__day">
{{ post.date | date: "%a" }}
</div>
<div class="event__date">
<time datetime="{{ post.date }}">
{{ post.date | date: "%-d %b" }}
</time>
<div class="event__duration">{{ post.time }}</div>
{% assign modifier = 'small' %}
{% include event-cta.html modifier=modifier post=post %}
</div>
<div class="event__details">
<h2 class="event__name">
<a href="{{ post.href }}" class="event__name-link">{{ post.title }}</a>
</h2>
<ul class="event__info">
<li>
<span class="event__link event__link--location">
<svg class="icon icon--inline icon--event-info icon--small">
<use xlink:href="#icon-marker"></use>
</svg>
{{ post.venue }}
</span>
</li>
<li>
<a href="{{ post.href }}" class="event__link event__link--website">
<svg class="icon icon--inline icon--event-info icon--small icon--globe">
<use xlink:href="#icon-globe"></use>
</svg>
Website
</a>
</li>
{% if post.twitter %}
<li>
<a href="#" class="event__link event__link--twitter">
<svg class="icon icon--inline icon--event-info icon--small icon--globe">
<use xlink:href="#icon-twitter"></use>
</svg>
Twitter
</a>
</li>
{% endif %}
</ul>
</div>
{% assign modifier = '' %}
{% include event-cta.html modifier=modifier post=post %}
</article>
</li>
{% endfor %}
</ol>
<div class="more_links">
<a href="https://github.com/jsconf/wwwtf.berlin#create-an-event">Want to submit your event?</a>
<a href="{% link about.html %}">What is WWWTF, exactly?</a>
</div>
</div>
</main>