File tree 6 files changed +113
-5
lines changed 6 files changed +113
-5
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ github_username:
33
33
plugins :
34
34
- jekyll-feed
35
35
36
+ collections :
37
+ pages :
38
+ output : true
39
+
36
40
defaults :
37
41
- scope :
38
42
path : " "
Original file line number Diff line number Diff line change 16
16
< a class ="nav-item nav-link active " href ="{{site.url}}/session "> セッション</ a >
17
17
< a class ="nav-item nav-link active " href ="{{site.url}}/event "> イベント企画</ a >
18
18
< a class ="nav-item nav-link active " href ="{{site.url}}/contest "> コンテスト</ a >
19
- < a class ="nav-item nav-link active " href ="{{site.url}}/workshop "> ワークショップ</ a >
20
- < a class ="nav-item nav-link active " href ="{{site.url}}#contactus "> お問い合わせ</ a >
19
+ < a class ="nav-item nav-link active " href ="{{site.url}}/workshop "> ワークショップ</ a >
20
+ < a class ="nav-item nav-link active " href ="{{site.url}}/dojo-jiman "> Dojo自慢</ a >
21
+ < a class ="nav-item nav-link active " href ="{{site.url}}#contactus "> お問い合わせ</ a >
21
22
</ div >
22
23
</ div >
23
24
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% if page.categories %}
5
+ < div class ="post-head ">
6
+ < h2 class ="font-weight-bold "> {{page.categories[0] }}</ h2 >
7
+ </ div >
8
+ {% endif %}
9
+
10
+ < div class ="post ">
11
+ < h1 class ="post-title font-weight-bold "> {{ page.title }}</ h1 >
12
+
13
+ {% if page.categories[0] == "news" %}
14
+ < p class ="post-date "> {{ page.date | date:"%Y.%-m.%-d" }}</ p >
15
+ {% elsif page.categories[0] == "workshop" or page.categories[0] == "session" %}
16
+ < div class ="tags ">
17
+ {% for tag in page.tags %}
18
+ < span class ="tag-post "> {{tag}}</ span >
19
+ {% endfor %}
20
+ </ div >
21
+ < p class ="post-time "> {{page.time}}</ p >
22
+ {%endif%}
23
+
24
+
25
+ < div class ='post-content mt-5 '>
26
+ {{ content }}
27
+
28
+ < hr >
29
+ < div class ="row ">
30
+ < div class ="col-2 ">
31
+ {% if page.dojo_icon %}
32
+ < img src ="https://raw.githubusercontent.com/coderdojo-japan/coderdojo.jp/master/public/img/dojos/{{page.dojo_icon}}.png " />
33
+ {% else %}
34
+ < img src ="https://coderdojo.jp/img/dojos/coderdojo.png " />
35
+ {% endif %}
36
+ </ div >
37
+ < div class ="col-10 ">
38
+ < p class ="text-left font-weight-bold h4 "> {{ page.dojo_name }}</ p >
39
+ < p class ="text-left "> {{ page.dojo_desciption }}</ p >
40
+ </ div >
41
+ </ div >
42
+
43
+ < a href ="/dojo-jiman/ " class ="btn btn-red "> < i class ="fas fa-chevron-circle-left "> </ i > 一覧に戻る</ a >
44
+ < br />
45
+ < a href ="/ " class ="btn btn-red "> < i class ="fas fa-chevron-circle-left "> </ i > トップページに戻る</ a >
46
+ </ div >
47
+
48
+ </ div >
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% if page.categories %}
5
+ < div class ="post-head ">
6
+ < h2 > {{page.categories[0] }}</ h2 >
7
+ </ div >
8
+ {% endif %}
9
+
10
+ < div class ="post ">
11
+ < h1 class ="post-title "> {{ page.title }}</ h1 >
12
+
13
+ {% if page.categories[0] == "news" %}
14
+ < p class ="post-date "> {{ page.date | date:"%Y.%-m.%-d" }}</ p >
15
+ {% elsif page.categories[0] == "workshop" or page.categories[0] == "session" %}
16
+ < div class ="tags ">
17
+ {% for tag in page.tags %}
18
+ < span class ="tag-post "> {{tag}}</ span >
19
+ {% endfor %}
20
+ </ div >
21
+ < p class ="post-time "> {{page.time}}</ p >
22
+ {%endif%}
23
+
24
+ < div class ='post-content mt-5 '>
25
+
26
+ {% if page.thumbnail %}
27
+ < img src ="{{site.url}}/img/post/{{page.thumbnail}} " />
28
+ {% else %}
29
+ < img src ="{{site.url}}/img/ogp_1.png " />
30
+ {% endif %}
31
+
32
+ {{ content }}
33
+ < hr >
34
+ < div class ="row ">
35
+ < div class ="col-2 ">
36
+ {% if page.dojo_icon %}
37
+ < img src ="https://raw.githubusercontent.com/coderdojo-japan/coderdojo.jp/master/public/img/dojos/{{page.dojo_icon}}.png " />
38
+ {% else %}
39
+ < img src ="https://coderdojo.jp/img/dojos/coderdojo.png " />
40
+ {% endif %}
41
+ </ div >
42
+ < div class ="col-10 ">
43
+ < p class ="text-left font-weight-bold h4 "> {{ page.dojo_name }}</ p >
44
+ < p class ="text-left "> {{ page.dojo_desciption }}</ p >
45
+ </ div >
46
+ </ div >
47
+
48
+ < a href ="/dojo-jiman/ " class ="btn btn-red "> < i class ="fas fa-chevron-circle-left "> </ i > 一覧に戻る</ a >
49
+ < br />
50
+ < a href ="/ " class ="btn btn-red "> < i class ="fas fa-chevron-circle-left "> </ i > トップページに戻る</ a >
51
+ </ div >
52
+
53
+ </ div >
Original file line number Diff line number Diff line change 10
10
dojo_icon:
11
11
permalink: /dojo-jiman/fuga/
12
12
---
13
- 以下の動画をご覧ください!
14
- < iframe width ="560 " height ="315 " src ="https://www.youtube-nocookie.com/embed/pQ6bVZfj4Ak?controls=0 " frameborder ="0 " allow ="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture " allowfullscreen > </ iframe >
13
+ < p class ="text-center h3 "> 以下の動画をご覧ください!</ p >
14
+ < div class ="text-center ">
15
+ < iframe width ="560 " height ="315 " src ="https://www.youtube-nocookie.com/embed/pQ6bVZfj4Ak?controls=0 " frameborder ="0 " allow ="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture " allowfullscreen > </ iframe >
16
+ </ div >
15
17
16
18
<!--あるいは-->
17
- PDF資料をダウンロード!
19
+ < p class =" text-center h3 " > PDF資料を見る </ p >
18
20
< a class ="button " href ="hoge.pdf "> ダウンロード</ a >
You can’t perform that action at this time.
0 commit comments