Skip to content

Commit 9ff14ff

Browse files
authored
Add cfp_link key for events (#572)
* Add `cfp_link` key * Backfill `cfp_link` metadata for the upcoming conferences * Make CFP link styles more obivous
1 parent ec5285e commit 9ff14ff

File tree

4 files changed

+28
-11
lines changed

4 files changed

+28
-11
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ Extra keys for the upcoming events:
4646
* `reg_phrase`: Typically you want to put "Registration open" here.
4747
* `reg_date`: If there is a registration deadline, enter that here - ISO8601 formatted (yyyy-mm-dd).
4848
* `cfp_phrase`: Typically you want to put "CFP open" here. If you also provide a `cfp_date` then you may prefer to write "CFP closes" so the site will render for example "CFP closes in 17 days".
49-
* `cfp_date`: If there is a cfp deadline, enter that here - ISO8601 formatted (yyyy-mm-dd).
49+
* `cfp_date`: If there is a CFP deadline, enter that here - ISO8601 formatted (yyyy-mm-dd).
50+
* `cfp_link`: A link to the CFP submission page.
5051
* `status`: Typically you want to put "Canceled", "Postponed" or "To be announced" here.
5152
* `date_precision`: Controls the precision of the `start_date` and `end_date` when the conference dates aren't announced just yet but it's confirmed that the conference is happening. Possible values: `full` (implicit default), `month` or `year`. The `start_date` and `end_date` fields still need to be fully formatted ISO8601 dates, you can put the last day of the month/year in it so it also gets ordered properly.
5253

_data/conferences.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2421,8 +2421,7 @@
24212421
end_date: 2024-02-04
24222422
twitter: rubybelgium
24232423
url: https://fosdem.rubybelgium.be
2424-
cfp_phrase: CFP closes
2425-
cfp_date: 2023-12-01
2424+
cfp_phrase: CFP closed
24262425

24272426
- name: Ruby Warsaw Community Conference 2024
24282427
location: Warsaw, Poland
@@ -2443,8 +2442,7 @@
24432442
end_date: 2024-04-05
24442443
url: https://www.tropicalrb.com/
24452444
twitter: tropical_rb
2446-
cfp_phrase: CFP closes
2447-
cfp_date: 2024-01-10
2445+
cfp_phrase: CFP closed
24482446
mastodon: https://ruby.social/@tropicalrb
24492447

24502448
- name: RubyConf AU 2024
@@ -2453,8 +2451,7 @@
24532451
end_date: 2024-04-12
24542452
url: https://rubyconf.org.au/
24552453
twitter: rubyconf_au
2456-
cfp_phrase: CFP closes
2457-
cfp_date: 2024-01-12
2454+
cfp_phrase: CFP closed
24582455

24592456
- name: wroclove.rb 2024
24602457
location: Wrocław, Poland
@@ -2465,6 +2462,7 @@
24652462
mastodon: https://ruby.social/@wrocloverb/
24662463
cfp_phrase: CFP closes
24672464
cfp_date: 2024-01-31
2465+
cfp_link: https://forms.gle/bgTVhWZzjRV74F1x7
24682466

24692467
- name: Balkan Ruby 2024
24702468
location: Sofia, Bulgaria
@@ -2474,6 +2472,7 @@
24742472
twitter: balkanruby
24752473
cfp_phrase: CFP closes
24762474
cfp_date: 2024-02-02
2475+
cfp_link: https://forms.gle/NJY9PJWpud39ZQAr8
24772476

24782477
- name: RailsConf 2024
24792478
location: Detroit, MI
@@ -2487,11 +2486,12 @@
24872486
location: Naha, Okinawa, Japan
24882487
start_date: 2024-05-15
24892488
end_date: 2024-05-17
2490-
url: https://rubykaigi.org
2489+
url: https://rubykaigi.org/2024
24912490
twitter: rubykaigi
24922491
mastodon: https://ruby.social/@rubykaigi
24932492
cfp_phrase: CFP closes
24942493
cfp_date: 2024-01-31
2494+
cfp_link: https://cfp.rubykaigi.org/events/2024
24952495

24962496
- name: Helvetic Ruby 2024
24972497
location: Zurich, Switzerland
@@ -2502,6 +2502,7 @@
25022502
mastodon: https://ruby.social/@helvetic_ruby
25032503
cfp_phrase: CFP closes
25042504
cfp_date: 2024-02-25
2505+
cfp_link: https://helvetic-ruby.ch/call-for-speakers
25052506

25062507
- name: Blue Ridge Ruby 2024
25072508
location: Asheville, NC, USA
@@ -2512,15 +2513,17 @@
25122513
mastodon: https://ruby.social/@blueridgeruby
25132514
cfp_phrase: CFP closes
25142515
cfp_date: 2024-03-01
2516+
cfp_link: https://blueridgeruby.com/cfp
25152517

25162518
- name: RubyDay 2024
25172519
location: Verona, Italy
25182520
start_date: 2024-05-31
25192521
end_date: 2024-05-31
2520-
cfp_phrase: CFP closes
2521-
cfp_date: 2024-01-31
25222522
url: https://2024.rubyday.it
25232523
twitter: rubydayit
2524+
cfp_phrase: CFP closes
2525+
cfp_date: 2024-01-31
2526+
cfp_link: https://2024.rubyday.it/welcome/cfp.html
25242527

25252528
- name: Baltic Ruby 2024
25262529
location: Malmö, Sweden
@@ -2545,6 +2548,7 @@
25452548
mastodon: https://ruby.social/@brightonruby
25462549
cfp_phrase: CFP closes
25472550
cfp_date: 2024-02-29
2551+
cfp_link: https://forms.reform.app/goodscary/brighton-ruby-2024-cfp/gci0d6
25482552

25492553
- name: Madison+ Ruby 2024
25502554
location: Madison, WI
@@ -2562,6 +2566,7 @@
25622566
mastodon: https://ruby.social/@Euruko
25632567
cfp_phrase: CFP closes
25642568
cfp_date: 2024-04-15
2569+
cfp_link: https://www.papercall.io/euruko2024
25652570

25662571
- name: Friendly.rb 2024
25672572
location: Bucharest, Romania

_includes/event.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
{% if event.reg_phrase %}
1111
<div class="reg" data-date="{{ event.reg_date }}" data-phrase="{{ event.reg_phrase }}"></div>
1212
{% endif %}
13-
{% if event.cfp_phrase %}
13+
14+
{% if event.cfp_phrase and event.cfp_link %}
15+
<a class="cfp cfp-link" href="{{ event.cfp_link }}" data-date="{{ event.cfp_date }}" data-phrase="{{ event.cfp_phrase }}" target="_blank"></a>
16+
{% elsif event.cfp_phrase %}
1417
<div class="cfp" data-date="{{ event.cfp_date }}" data-phrase="{{ event.cfp_phrase }}"></div>
1518
{% endif %}
1619
</dt>

css/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,3 +319,11 @@ header {
319319
/* line 213, /Users/jon/code/rc/site/source/css/style.sass */
320320
#news footer .older {
321321
float: right; }
322+
323+
.cfp-link {
324+
text-decoration: underline;
325+
}
326+
327+
.cfp-link:hover {
328+
color: black !important;
329+
}

0 commit comments

Comments
 (0)