Skip to content

Commit 8c46ca6

Browse files
committed
TOPの登壇者表記を読みやすく改善
1 parent 76c19f5 commit 8c46ca6

File tree

2 files changed

+37
-19
lines changed

2 files changed

+37
-19
lines changed

_data/sessions.yml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
- title: プログラミング教育の脱構築——生成AI時代における〈学び〉を再考する
22
showInTopPage: false
3-
speaker: 宮島 衣瑛(@kiriem_)
4-
affiliation: CoderDojo Japan 理事 / 広島大学大学院 特命助教
3+
speakers:
4+
- name: 宮島 衣瑛(@kiriem_)
5+
affiliation:
6+
- CoderDojo Japan 理事
7+
- 広島大学大学院 特命助教
58
img: /img/sessions/profile/miyajima-kirie.webp
69
tag: 基調講演
710
url: /sessions/keynote1/
@@ -12,8 +15,11 @@
1215
1316
- title: 生成AI時代における子どもたちに必要な力とは?
1417
showInTopPage: false
15-
speaker: 小宮山 利恵子
16-
affiliation: 株式会社リクルート スタディサプリ教育AI研究所所長、 国立大学法人 東京学芸大学大学院教育学研究科教授
18+
speakers:
19+
- name: 小宮山 利恵子
20+
affiliation:
21+
- 株式会社リクルート スタディサプリ教育AI研究所所長
22+
- 国立大学法人 東京学芸大学大学院教育学研究科教授
1723
img: /img/sessions/profile/komiyama-rieko-square.webp
1824
tag: 招待講演
1925
url: /sessions/keynote2/
@@ -24,8 +30,10 @@
2430
2531
- title: エンジニアではない私がCoderDojoを立ち上げた
2632
showInTopPage: true
27-
speaker: 吉田 彩
28-
affiliation: CoderDojo早良 チャンピオン
33+
speakers:
34+
- name: 吉田 彩
35+
affiliation:
36+
- CoderDojo早良 チャンピオン
2937
img: /img/sessions/thumbnails/session1.webp
3038
tag: セッション
3139
url: /sessions/1/
@@ -37,8 +45,13 @@
3745
3846
- title: CoderDojoに救われて現在親子でメンターをやっている話
3947
showInTopPage: true
40-
speaker: とり子・memetan
41-
affiliation: <br />とり子:CoderDojo香椎 CoderDojoさが メンター <br /> memetan:CoderDojo香椎 CoderDojoさが ユースメンター
48+
speakers:
49+
- name: とり子 (メンター)
50+
affiliation:
51+
- CoderDojo 香椎, さが
52+
- name: memetan (ユースメンター)
53+
affiliation:
54+
- CoderDojo 香椎, さが
4255
img: /img/sessions/thumbnails/session2.webp
4356
tag: セッション
4457
url: /sessions/2/
@@ -52,8 +65,9 @@
5265
5366
- title: みんなのセッション
5467
showInTopPage: true
55-
speaker: 宮島衣瑛(進行役)
56-
affiliation: CoderDojo Japan 理事
68+
speakers:
69+
- name: (進行役)宮島衣瑛
70+
affiliation: CoderDojo Japan 理事
5771
img: /img/sessions/thumbnails/session3.webp
5872
tag: セッション
5973
url: /sessions/3/

_includes/top/sections/session.html

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,19 @@ <h2 class="text-4xl mb-4 text-center lg:text-left">
2121
<a href="{{ session.url }}" class="block hover:opacity-80 transition grow">
2222
<img class="w-full md:max-h-[160px] md:object-contain" src="{{ session.img }}" alt="{{ session.title }}" />
2323
<p class="mt-2">{{ session.title }}</p>
24-
{% if session.speaker %}
25-
<p class="text-xs leading-5">
26-
登壇者: {{ session.speaker }}
27-
</p>
28-
{% endif %}
29-
{% if session.affiliation %}
30-
<p class="text-xs leading-5">
31-
所属: {{ session.affiliation }}
32-
</p>
24+
{% if session.speakers %}
25+
<p class="text-xs leading-5">登壇者:</p>
26+
<ul class="list-disc text-xs leading-5 pl-6">
27+
{% for sp in session.speakers %}
28+
<li>{{ sp.name }}
29+
{% if sp.affiliation %}
30+
{% for aff in sp.affiliation %}
31+
<br>{{ aff }}
32+
{% endfor %}
33+
{% endif %}
34+
</li>
35+
{% endfor %}
36+
</ul>
3337
{% endif %}
3438
</a>
3539
</li>

0 commit comments

Comments
 (0)