Skip to content

Commit d8cfd39

Browse files
authored
Replace conference lists with links to RubyEvents.org (#1256)
1 parent b171e26 commit d8cfd39

File tree

3 files changed

+42
-46
lines changed

3 files changed

+42
-46
lines changed

cfp/index.html

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
---
22
layout: default
33
---
4-
<article id="home">
5-
<dl>
6-
{% assign now = site.time | date: '%s' | plus: 0 %}
7-
{% assign today = site.time | date: '%Y-%m-%d' %}
8-
{% assign conferences = site.data.conferences | sort: 'cfp_close_date' %}
9-
10-
{% for event in conferences %}
11-
{% assign start_date = event.start_date | date: '%s' | plus: 0 %}
12-
{% assign cfp_close_timestamp = event.cfp_close_date | date: '%s' | plus: 0 %}
13-
{% assign cfp_close_date = event.cfp_close_date | date: '%Y-%m-%d' %}
14-
15-
{% if start_date >= now and cfp_close_timestamp >= now or cfp_close_date == today %}
16-
{% include event.html %}
17-
{% endif %}
18-
{% endfor %}
19-
</dl>
4+
<style>
5+
#home a { font-weight: bold; }
6+
#home p { margin-bottom: 12px; }
7+
</style>
8+
<article id="home" style="color: #333;">
9+
<p>
10+
RubyConferences.org and RubyVideo.dev have merged into <a href="https://www.rubyevents.org">RubyEvents.org</a>, the new central platform for all things Ruby events.
11+
</p>
12+
<p>
13+
The CFP page has moved to <a href="https://www.rubyevents.org/cfp">here</a>.
14+
</p>
15+
<p>
16+
<a href="https://marcoroth.dev/posts/introducing-rubyevents-org">Read the full announcement</a>
17+
</p>
2018
</article>

index.html

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
---
22
layout: default
33
---
4-
<article id="home">
5-
<dl>
6-
{% assign now = site.time | date: '%s' | plus: 0 %}
7-
{% assign today = site.time | date: '%Y-%m-%d' %}
8-
{% assign conferences = site.data.conferences | sort: "start_date" %}
9-
{% assign item_name = "conference" %}
10-
11-
{% include filters.html %}
12-
13-
{% for event in conferences %}
14-
{% assign start_date = event.start_date | date: '%s' | plus: 0 %}
15-
{% if start_date > now %}
16-
{% include event.html %}
17-
{% endif %}
18-
{% endfor %}
19-
</dl>
4+
<style>
5+
#home a { font-weight: bold; }
6+
#home p { margin-bottom: 12px; }
7+
</style>
8+
<article id="home" style="color: #333;">
9+
<p>
10+
RubyConferences.org and RubyVideo.dev have merged into <a href="https://www.rubyevents.org">RubyEvents.org</a>, the new central platform for all things Ruby events.
11+
</p>
12+
<p>
13+
The conferences page has moved to <a href="https://www.rubyevents.org/events">here</a>.
14+
</p>
15+
<p>
16+
<a href="https://marcoroth.dev/posts/introducing-rubyevents-org">Read the full announcement</a>
17+
</p>
2018
</article>

past/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
22
layout: default
33
---
4-
<article id="past">
5-
<dl>
6-
{% assign now = site.time | date: '%s' | plus: 0 %}
7-
{% assign item_name = "conference" %}
8-
9-
{% include filters.html %}
10-
11-
{% for event in site.data.conferences reversed %}
12-
{% assign start_date = event.start_date | date: '%s' | plus: 0 %}
13-
{% if start_date < now %}
14-
{% include event.html %}
15-
{% endif %}
16-
{% endfor %}
17-
</dl>
4+
<style>
5+
#past a { font-weight: bold; }
6+
#past p { margin-bottom: 12px; }
7+
</style>
8+
<article id="past" style="color: #333;">
9+
<p>
10+
RubyConferences.org and RubyVideo.dev have merged into <a href="https://www.rubyevents.org">RubyEvents.org</a>, the new central platform for all things Ruby events.
11+
</p>
12+
<p>
13+
The past conferences page has moved to <a href="https://www.rubyevents.org/events/past">here</a>. You can also browse the full <a href="https://www.rubyevents.org/events/archive">archive</a>.
14+
</p>
15+
<p>
16+
<a href="https://marcoroth.dev/posts/introducing-rubyevents-org">Read the full announcement</a>
17+
</p>
1818
</article>

0 commit comments

Comments
 (0)