forked from austinjavascript/austinjavascript.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (61 loc) · 2.53 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
---
layout: base
title: Austin JavaScript
meta:
description: Austin JavaScript is a community-driven group that meets to discuss JavaScript and the open web.
---
<section class="columns is-variable is-8-desktop">
<div class="column is-two-thirds">
<div class="content is-medium">
<h1 class="is-sr-only">{{ title }}</h1>
<section class="meetup-details">
{%- assign meet = collections.meetups | last -%}
{%- meetupDetails meet.date, meet.data.venue, meet.data.after, meet.data.title, 'Upcoming meetup details' -%}
<div class="title is-size-4">
<a href="{{ meet.url }}">{{ meet.data.title }}</a>
</div>
{%- endmeetupDetails -%}
<meta id="meet-date" time="{{ meet.date }}">
<script>
(function () {
const meetDate = document.getElementById('meet-date').getAttribute('time');
if (new Date(meetDate) < new Date()) {
// We may want to post an alternate message, but for now just delete the upcoming meetup.
document.querySelector('.meetup-details').remove();
}
}());
</script>
</section>
<section class="section">
<p>We are a community-driven group that meets to discuss JavaScript and the open web. Find out more <a href="{{ '/about/' | url }}">about us</a> or the many ways you can <a href="{{ '/contributing/' | url }}">contribute</a>.</p>
<p>We work hard to build a community that treats people with excellence. We've formalized this in the <a href="{{ '/code-of-conduct/' | url }}">Austin JavaScript Code of Conduct</a>.</p>
</section>
<section class="section">
<h2 class="is-size-4">Past speakers and talks</h2>
{%- for meetup in collections.meetups reversed -%}
{%- for speaker in meetup.data.speakers -%}
{%- if speaker.name and speaker.avatar -%}
<figure class="pic">
<a class="tooltip" href="{{ meetup.url | url }}" aria-label="{{ speaker.name }}: "{{ meetup.data.title }}"">
{%- avatar speaker.avatar, speaker.name, 'is-rounded' -%}
</a>
</figure>
{%- endif -%}
{%- endfor -%}
{%- endfor -%}
</section>
</div>
</div>
<div class="column">
<div class="content">
<h3>Recent meetups</h3>
<ul>
{%- assign meetups = collections.meetups | flip -%}
{%- for post in meetups limit: 5 -%}
<li><a href="{{ post.url | url }}">{{ post.data.title }}</a></li>
{%- endfor -%}
</ul>
<p><a href="{{ '/posts/meetups/' | url }}">More in archive...</a></p>
</div>
</div>
</section>