-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (57 loc) · 1.68 KB
/
index.html
File metadata and controls
64 lines (57 loc) · 1.68 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
---
show_header: true
permalink: /
---
{% assign sorted_hacks = site.hacks | where:"upcoming",true | sort:"date" | reverse %}
{% assign next_hack = sorted_hacks | first %}
{% assign start_time = next_hack.date | slice:0,10 | append:"T09:30Z" %}
<p class="lead">
An online event where you can meet friends and work on something new
</p>
<section class="📅">
<div>
<h2>Next event</h2>
{% if next_hack %}
<p>
<time class="⏰" datetime="{{start_time}}">
{{ start_time | date_to_long_string }}
<span class="local-time">
<noscript>
{{ start_time | date: "%k:%M%P %Z" }}
</noscript>
</span>
</time>
</p>
{% else %}
<p class="☹️">
There's nothing lined up! ☹️</p>
{% endif %}
</div>
<p class="🖱️">
<a href="{{ site.url }}/calendar.ics" data-emoji="📅">Add to your calendar</a>
</p>
</section>
<p class="🖱️">
<a href="{{ site.url }}/join" data-emoji="👉">Join us on Discord</a>
</p>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name": "{{ site.title }}",
"description": "{{ site.description | split:"." | first }}",
{% if next_hack %}
"startDate": "{{start_time}}",
{% endif %}
"eventStatus": "https://schema.org/EventScheduled",
"eventAttendanceMode": "https://schema.org/OnlineEventAttendanceMode",
"location": {
"@type":"VirtualLocation",
"url": "{{ site.discord_invite_url }}"
},
"image": [
"https://remotehack.space/images/RH-social-square.jpg",
"https://remotehack.space/images/RH-social-landscape.jpg"
]
}
</script>