Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions cfp/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
---
layout: default
---
<article id="home">
<dl>
{% assign now = site.time | date: '%s' | plus: 0 %}
{% assign today = site.time | date: '%Y-%m-%d' %}
{% assign conferences = site.data.conferences | sort: 'cfp_close_date' %}

{% for event in conferences %}
{% assign start_date = event.start_date | date: '%s' | plus: 0 %}
{% assign cfp_close_timestamp = event.cfp_close_date | date: '%s' | plus: 0 %}
{% assign cfp_close_date = event.cfp_close_date | date: '%Y-%m-%d' %}

{% if start_date >= now and cfp_close_timestamp >= now or cfp_close_date == today %}
{% include event.html %}
{% endif %}
{% endfor %}
</dl>
<style>
#home a { font-weight: bold; }
#home p { margin-bottom: 12px; }
</style>
<article id="home" style="color: #333;">
<p>
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.
</p>
<p>
The CFP page has moved to <a href="https://www.rubyevents.org/cfp">here</a>.
</p>
<p>
<a href="https://marcoroth.dev/posts/introducing-rubyevents-org">Read the full announcement</a>
</p>
</article>
30 changes: 14 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
---
layout: default
---
<article id="home">
<dl>
{% assign now = site.time | date: '%s' | plus: 0 %}
{% assign today = site.time | date: '%Y-%m-%d' %}
{% assign conferences = site.data.conferences | sort: "start_date" %}
{% assign item_name = "conference" %}

{% include filters.html %}

{% for event in conferences %}
{% assign start_date = event.start_date | date: '%s' | plus: 0 %}
{% if start_date > now %}
{% include event.html %}
{% endif %}
{% endfor %}
</dl>
<style>
#home a { font-weight: bold; }
#home p { margin-bottom: 12px; }
</style>
<article id="home" style="color: #333;">
<p>
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.
</p>
<p>
The conferences page has moved to <a href="https://www.rubyevents.org/events">here</a>.
</p>
<p>
<a href="https://marcoroth.dev/posts/introducing-rubyevents-org">Read the full announcement</a>
</p>
</article>
28 changes: 14 additions & 14 deletions past/index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
layout: default
---
<article id="past">
<dl>
{% assign now = site.time | date: '%s' | plus: 0 %}
{% assign item_name = "conference" %}

{% include filters.html %}

{% for event in site.data.conferences reversed %}
{% assign start_date = event.start_date | date: '%s' | plus: 0 %}
{% if start_date < now %}
{% include event.html %}
{% endif %}
{% endfor %}
</dl>
<style>
#past a { font-weight: bold; }
#past p { margin-bottom: 12px; }
</style>
<article id="past" style="color: #333;">
<p>
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.
</p>
<p>
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>.
</p>
<p>
<a href="https://marcoroth.dev/posts/introducing-rubyevents-org">Read the full announcement</a>
</p>
</article>