Skip to content

Commit 0de0007

Browse files
committed
Make skelton for discussion session [WIP](#25)
1 parent 3ee6754 commit 0de0007

File tree

9 files changed

+183
-34
lines changed

9 files changed

+183
-34
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@
1111
session:
1212
output: true
1313
news:
14+
output: true
15+
discussion:
1416
output: true

_discussion/1110_champions.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Discussion
3+
j-title: "Champions Discussion"
4+
description: "Champions Discussion [10:10-10:40]"
5+
time-schedule: 10:10-10:40
6+
speakers:
7+
- speaker-name: Name
8+
position: A
9+
speaker-info: "
10+
hogehoge
11+
"
12+
thumbnail: mihashi.jpg
13+
twitter: https://twitter.com
14+
- speaker-name: Name
15+
position: B
16+
speaker-info: "
17+
hogehoge
18+
"
19+
thumbnail: mihashi.jpg
20+
twitter: https://twitter.com
21+
- speaker-name: Name
22+
position: C
23+
speaker-info: "
24+
hogehoge
25+
"
26+
thumbnail: mihashi.jpg
27+
twitter: https://twitter.com
28+
layout: discussion
29+
---
30+
31+
ディスカッションの内容を熱く語る
32+
ディスカッションの内容を熱く語る
33+
ディスカッションの内容を熱く語る
34+
ディスカッションの内容を熱く語る

_discussion/1315_nonprogrammers.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Discussion
3+
j-title: "Non-Programmers Talks"
4+
description: "Non-Programmers Talks [13:15-10:45]"
5+
time-schedule: 13:15-10:45
6+
speakers:
7+
- speaker-name: Name
8+
position: A
9+
speaker-info: "
10+
hogehoge
11+
"
12+
thumbnail: mihashi.jpg
13+
twitter: https://twitter.com
14+
- speaker-name: Name
15+
position: B
16+
speaker-info: "
17+
hogehoge
18+
"
19+
thumbnail: mihashi.jpg
20+
twitter: https://twitter.com
21+
- speaker-name: Name
22+
position: C
23+
speaker-info: "
24+
hogehoge
25+
"
26+
thumbnail: mihashi.jpg
27+
twitter: https://twitter.com
28+
layout: discussion
29+
---
30+
31+
ディスカッションの内容を熱く語る
32+
ディスカッションの内容を熱く語る
33+
ディスカッションの内容を熱く語る
34+
ディスカッションの内容を熱く語る

_discussion/1440_guardians.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Discussion
3+
j-title: "Guardians Discussion"
4+
description: "Guardians Discussion [14:40-15:10]"
5+
time-schedule: 14:40-15:10
6+
speakers:
7+
- speaker-name: Name
8+
position: A
9+
speaker-info: "
10+
hogehoge
11+
"
12+
thumbnail: mihashi.jpg
13+
twitter: https://twitter.com
14+
- speaker-name: Name
15+
position: B
16+
speaker-info: "
17+
hogehoge
18+
"
19+
thumbnail: mihashi.jpg
20+
twitter: https://twitter.com
21+
- speaker-name: Name
22+
position: C
23+
speaker-info: "
24+
hogehoge
25+
"
26+
thumbnail: mihashi.jpg
27+
twitter: https://twitter.com
28+
layout: discussion
29+
---
30+
31+
ディスカッションの内容を熱く語る
32+
ディスカッションの内容を熱く語る
33+
ディスカッションの内容を熱く語る
34+
ディスカッションの内容を熱く語る

_includes/header.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ <h3 class="gnav__title text-center">DojoCon Japan 2018</h3>
6767
<li><a class="gnav_item" href="/news/">NEWS</a></li>
6868
<li><a class="gnav_item" href="/#access">ACCESS</a></li>
6969
<li><a class="gnav_item" href="/session/">SESSION</a></li>
70+
<li><a class="gnav_item" href="/#discussion">DISCUSSION</a></li>
7071
<li><a class="gnav_item" href="/#sponsor">SPONSOR</a></li>
7172
</ul>
7273
<ul class="gnav__sns list-inline text-center text-md-right mb-0">

_includes/speaker.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<div class="speaker-info">
2+
<div class="row justify-content-md-center">
3+
<div class="col-12 col-sm-6 col-lg-3"><img class="speaker-info__thumbnail rounded-circle"
4+
src="/img/{{include.speaker.thumbnail}}">
5+
<ul class="speaker-info__links list-inline text-center">
6+
{% if include.speaker.twitter %}
7+
<li class="list-inline-item"><a href="{{include.speaker.twitter}}" target="_blank"><i
8+
class="fab fa-twitter"></i></a></li>
9+
{% endif %}
10+
{% if include.speaker.facebook %}
11+
<li class="list-inline-item"><a href="{{include.speaker.facebook}}" target="_blank"><i
12+
class="fab fa-facebook-f"></i></a></li>
13+
{% endif %}
14+
{% if include.speaker.url-link %}
15+
<li class="list-inline-item"><a href="{{include.speaker.url-link}}" target="_blank"><i
16+
class="fas fa-laptop"></i></a></li>
17+
{% endif %}
18+
</ul>
19+
</div>
20+
<div class="col-12 col-sm-6 col-lg-9">
21+
<h4 class="speaker-info__name">{{include.speaker.speaker-name}}</h4>
22+
<p class="speaker-info__description">{{include.speaker.position}}</p>
23+
<div class="speaker-info__content">
24+
{{include.speaker.speaker-info}}
25+
</div>
26+
</div>
27+
</div>
28+
</div>

_layouts/discussion.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{% include header.html %}
2+
<article class="entry mb-5">
3+
<div class="container">
4+
<div class="row justify-content-md-center">
5+
<div class="col-12 col-md-8">
6+
<header class="entry__header">
7+
<h2 class="entry__title">{{page.j-title}}</h2>
8+
<p class="entry__time">[ {{page.time-schedule}} ]</p>
9+
</header>
10+
<div class="entry__content">
11+
{{content}}
12+
</div>
13+
</div>
14+
15+
{% for speaker in page.speakers %}
16+
<div class="col-12 col-md-8">
17+
{% include speaker.html speaker=speaker %}
18+
</div>
19+
{% endfor %}
20+
</div>
21+
</div>
22+
23+
24+
</article>
25+
{% include footer.html %}

_layouts/session.html

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,40 +12,7 @@ <h2 class="entry__title">{{page.j-title}}</h2>
1212
</div>
1313
</div>
1414
<div class="col-12 col-md-8">
15-
<div class="speaker-info">
16-
<div class="row justify-content-md-center">
17-
{% if page.thumbnail %}
18-
<div class="col-12 col-sm-6 col-lg-3"><img class="speaker-info__thumbnail rounded-circle"
19-
src="/img/{{page.thumbnail}}">
20-
{% else %}
21-
<div class="col-12 col-sm-6 col-lg-3"><img class="speaker-info__thumbnail rounded-circle"
22-
src="/img/{{page.thumbnail}}">
23-
{% endif %}
24-
<ul class="speaker-info__links list-inline text-center">
25-
{% if page.twitter %}
26-
<li class="list-inline-item"><a href="{{page.twitter}}" target="_blank"><i
27-
class="fab fa-twitter"></i></a></li>
28-
{% endif %}
29-
{% if page.facebook %}
30-
<li class="list-inline-item"><a href="{{page.facebook}}" target="_blank"><i
31-
class="fab fa-facebook-f"></i></a></li>
32-
{% endif %}
33-
{% if page.url-link %}
34-
<li class="list-inline-item"><a href="{{page.url-link}}" target="_blank"><i
35-
class="fas fa-laptop"></i></a></li>
36-
{% endif %}
37-
</ul>
38-
</div>
39-
<div class="col-12 col-sm-6 col-lg-9">
40-
<h4 class="speaker-info__name">{{page.speaker-name}}</h4>
41-
<p class="speaker-info__description">{{page.position}}</p>
42-
<div class="speaker-info__content">
43-
{{page.speaker-info}}
44-
</div>
45-
</div>
46-
</div>
47-
</div>
48-
</div>
15+
{% include speaker.html speaker=page %}
4916
</div>
5017
</div>
5118
</div>

index.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,30 @@ <h3 class="post-list__title">{{ session.j-title }}</h3>
129129
</div>
130130
</div>
131131
</section>
132+
<section id="discussion" class="discussion bg__green">
133+
<div class="container">
134+
<div class="row">
135+
<div class="col-12"></div>
136+
</div>
137+
<h2 class="heading__01">DISCUSSION</h2>
138+
<div class="row post-list">
139+
{% for discussion in site.discussion %}
140+
<div class="col-6 col-md-3">
141+
<article class="post-list__item">
142+
<div class="post-list__thumbnail"><a href="{{ site.url }}{{ discussion.url }}"><img
143+
src="img/{{ discussion.thumbnail }}" alt="{{discussion.speaker-name}}の画像"></a></div>
144+
<div class="post-list__content">
145+
<h3 class="post-list__title">{{ discussion.j-title }}</h3>
146+
<p class="post-list__speaker">{{ session.speaker-name }}</p>
147+
</div>
148+
<div class="post-list__more"><a class="btn btn__white btn__xl" href="{{ site.url }}{{ discussion.url }}"
149+
role="button">more</a></div>
150+
</article>
151+
</div>
152+
{% endfor %}
153+
</div>
154+
</div>
155+
</section>
132156
<section class="workshop bg__green">
133157
<div class="container">
134158
<div class="row justify-content-md-center">

0 commit comments

Comments
 (0)