jekyll-theme-conference 3.6.6 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/_layouts/home.html CHANGED
@@ -46,30 +46,55 @@
46
46
  {% elsif link.live %}
47
47
  {%- include partials/get_live_timestamps.html -%}
48
48
 
49
- {%- if link.name -%}
49
+ {%- if link.name == blank -%}
50
+ {%- assign link_name = site.data.lang[site.conference.lang].live.stream | default: "Live Stream" -%}
51
+ {%- elsif link.name -%}
50
52
  {%- assign link_name = link.name -%}
51
53
  {%- else -%}
52
- {%- assign link_name = site.data.lang[site.conference.lang].live.stream | default: "Live Stream" -%}
54
+ {%- assign link_name = nil -%}
53
55
  {%- endif -%}
54
56
 
55
- {%- if link.name_inactive -%}
56
- <span class="live-hide {{ btn_default }} disabled" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
57
- {{ link.name_inactive }}
57
+ {%- if link_name -%}
58
+ <span class="live-show d-none" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
59
+ {% if site.conference.live.streaming.enable %}
60
+ <a
61
+ class="{{ btn_default }}"
62
+ title="{{ link_name }}"
63
+ {%- if site.conference.live.streaming.external %}
64
+ href="{{ site.conference.live.streaming.external }}"
65
+ {%- else %}
66
+ data-toggle="modal" data-target="#stream-modal" data-room="" href="#"
67
+ {%- endif -%}
68
+ >
69
+ {% else %}
70
+ {% assign link_styleclass = btn_default %}
71
+ {% include partials/get_link.html %}
72
+ {{ link_tag }}
73
+ {% endif %}
74
+
75
+ {{ link_name }}
76
+
77
+ <span class="live-button badge badge-dark font-weight-normal text-left">
78
+ <object data="{{ site.baseurl }}/assets/icons/live.svg" type="image/svg+xml">!</object>
79
+ {{ site.data.lang[site.conference.lang].live.live | default: "Live" }}
80
+ </span>
81
+ </a>
58
82
  </span>
59
83
  {%- endif -%}
60
84
 
61
- <span class="live-show d-none" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
62
- {% if site.conference.live.streaming.enable %}
63
- <a class="{{ btn_default }}" title="{{ link_name }}" data-toggle="modal" data-target="#stream-modal" data-room="" href="#">
64
- {% else %}
65
- {% assign link_styleclass = "{{ btn_default }}" %}
66
- {% include partials/get_link.html %}
67
- {{ link_tag }}
68
- {% endif %}
85
+ {%- if link.name_inactive == blank -%}
86
+ {%- assign link_name_inactive = site.data.lang[site.conference.lang].live.stream | default: "Live Stream" -%}
87
+ {%- elsif link.name_inactive -%}
88
+ {%- assign link_name_inactive = link.name_inactive -%}
89
+ {%- else -%}
90
+ {%- assign link_name_inactive = nil -%}
91
+ {%- endif -%}
69
92
 
70
- {{ link_name }}
71
- </a>
72
- </span>
93
+ {%- if link_name_inactive -%}
94
+ <span class="live-hide {{ btn_default }} disabled" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
95
+ {{ link_name_inactive }}
96
+ </span>
97
+ {%- endif -%}
73
98
 
74
99
  {% else %}
75
100
  {% assign link_styleclass = btn_default %}
@@ -143,8 +143,8 @@
143
143
  {%- if d_start_hour == 0 and d_start_min == 0 -%}
144
144
 
145
145
  {%- assign talk_nbr_steps = talk_duration_min | divided_by: site.conference.program.time_steps -%}
146
- {%- include partials/get_main_category.html -%}
147
- <td rowspan="{{ talk_nbr_steps }}" class="alert alert-{{ main_cat_color }} shadow-sm overflow-hidden" style="z-index: {{ z-index-max | minus: i }}">
146
+ {%- include partials/get_track_properties.html -%}
147
+ <td rowspan="{{ talk_nbr_steps }}" class="alert alert-{{ track_color }} shadow-sm overflow-hidden" style="z-index: {{ z-index-max | minus: i }}">
148
148
 
149
149
  {%- assign live_button_styleclass = "mb-2" %}
150
150
  {%- include partials/show_live_button.html %}
@@ -156,7 +156,7 @@
156
156
  {%- include partials/list_speakers.html %}
157
157
  </p>
158
158
  <p class="mb-1">
159
- {%- include partials/list_sub_categories.html %}
159
+ {%- include partials/list_tags.html %}
160
160
  </p>
161
161
  </td>
162
162
  {%- assign active_talk = true %}
@@ -189,11 +189,11 @@
189
189
  </div>
190
190
  {%- endif -%}
191
191
 
192
- {%- if site.conference.talks.main_categories %}
192
+ {%- if site.conference.talks.tracks %}
193
193
  <h5 class="mt-4">{{ site.data.lang[site.conference.lang].program.legend | default: "Caption" }}</h5>
194
- {%- for main_cat in site.conference.talks.main_categories %}
195
- <div class="d-block d-sm-inline-block m-1 p-1 pl-2 pr-2 border-soft-{{ main_cat.color }} bg-soft-{{ main_cat.color }} font-weight-normal">
196
- {{- main_cat.name -}}
194
+ {%- for track in site.conference.talks.tracks %}
195
+ <div class="d-block d-sm-inline-block m-1 p-1 pl-2 pr-2 border-soft-{{ track.color | default: 'light' }} bg-soft-{{ track.color | default: 'light' }} font-weight-normal">
196
+ {{- track.name -}}
197
197
  </div>
198
198
  {%- endfor -%}
199
199
  {%- endif -%}
data/_layouts/room.html CHANGED
@@ -36,7 +36,7 @@
36
36
  <table class="list-program">
37
37
  {%- for t in r.talks -%}
38
38
  {%- assign talk = site.talks | where: 'name', t.name | first -%}
39
- {%- include partials/get_main_category.html %}
39
+ {%- include partials/get_track_properties.html %}
40
40
 
41
41
  <tr>
42
42
  <td class="pr-2">
@@ -48,7 +48,7 @@
48
48
  {%- assign live_button_styleclass = "w-100" -%}
49
49
  {% include partials/show_live_button.html %}
50
50
  </td>
51
- <td class="pl-2 border-soft-{{ main_cat_color }}">
51
+ <td class="pl-2 border-soft-{{ track_color }}">
52
52
  <p class="mb-0">
53
53
  {%- include partials/show_talk.html -%}
54
54
  </p>
@@ -15,13 +15,13 @@
15
15
 
16
16
  {% include partials/get_link_types.html %}
17
17
 
18
- {% if has_icon_links %}
18
+ {% if has_icon_links > 0 %}
19
19
  <ul class="list-unstyled">
20
20
  {% for link in speaker.links %}
21
21
  {% assign link_styleclass = "text-reset" %}
22
- {% include partials/get_link.html %}
22
+ {% include partials/get_link.html link_type="icon" %}
23
23
 
24
- {% if link_icon %}
24
+ {% if link_valid %}
25
25
  <li class="mb-1">
26
26
  {{ link_tag }}
27
27
  <span class="badge badge-light font-weight-normal mr-1">
@@ -35,21 +35,21 @@
35
35
  </ul>
36
36
  {% endif %}
37
37
 
38
- {% if has_regular_links %}
38
+ {% if has_regular_links > 0 %}
39
39
  <h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information | default: "More Information" }}:</h5>
40
40
 
41
41
  <ul class="list-unstyled">
42
42
  {% for link in speaker.links %}
43
43
  {% assign link_styleclass = "text-reset" %}
44
- {% include partials/get_link.html %}
44
+ {% include partials/get_link.html link_type="regular" %}
45
45
 
46
- {% unless link_icon %}
46
+ {% if link_valid %}
47
47
  <li class="mb-1 ml-2 pl-2 border-soft-primary">
48
48
  {{ link_tag }}
49
49
  {{ link.name }}
50
50
  </a>
51
51
  </li>
52
- {% endunless %}
52
+ {% endif %}
53
53
  {% endfor %}
54
54
  </ul>
55
55
  {% endif %}
@@ -77,7 +77,7 @@
77
77
  {%- for speaker_name in talk.speakers -%}
78
78
  {%- if speaker_name == speaker.name -%}
79
79
 
80
- {%- include partials/get_main_category.html -%}
80
+ {%- include partials/get_track_properties.html -%}
81
81
 
82
82
  <tr>
83
83
  <td class="pr-2 py-0">
@@ -85,7 +85,7 @@
85
85
  {%- assign talk_time_styleclass = "w-100" -%}
86
86
  {%- include partials/show_talk_time.html -%}
87
87
  </td>
88
- <td class="pl-2 py-0 align-baseline border-soft-{{ main_cat_color }}">
88
+ <td class="pl-2 py-0 align-baseline border-soft-{{ track_color }}">
89
89
  <span class="mr-2">
90
90
  {%- include partials/show_talk.html -%}
91
91
  </span>
@@ -1,112 +1,36 @@
1
1
  {% include partials/header.html %}
2
2
 
3
- <h1 class="display-5 mb-4 text-break">
4
- {%- if page.title -%}
5
- {{- page.title -}}
6
- {%- else -%}
7
- {{- site.data.lang[site.conference.lang].talk.overview | default: "Talks" -}}
8
- {%- endif -%}
9
- </h1>
10
-
11
- {{ content }}
12
-
13
- {% for main_category in site.conference.talks.main_categories %}
3
+ <h1 class="display-5 mb-4 text-break">
4
+ {%- if page.title -%}
5
+ {{- page.title -}}
6
+ {%- else -%}
7
+ {{- site.data.lang[site.conference.lang].talk.overview | default: "Talks" -}}
8
+ {%- endif -%}
9
+ </h1>
10
+
11
+ {{ content }}
12
+
13
+ {% if site.conference.talks.tracks %}
14
+ {% for track in site.conference.talks.tracks %}
14
15
  <h3 class="mt-4 mb-3">
15
- <span class="badge border-soft-{{ main_category.color }} bg-soft-{{ main_category.color }} d-block d-sm-inline text-wrap">
16
- {{ main_category.name }}
16
+ <span class="badge border-soft-{{ track.color | default: 'light' }} bg-soft-{{ track.color | default: 'light' }} d-block d-sm-inline text-wrap">
17
+ {{ track.name }}
17
18
  </span>
18
19
  </h3>
19
20
  <ul class="list-unstyled">
20
21
  {% for talk in site.talks -%}
21
- {%- for cat in talk.categories -%}
22
- {%- if cat == main_category.name -%}
23
- {%- assign main_cat = main_category.name -%}
24
- <li class="pl-2 mb-2 border-soft-{{ main_category.color }}">
25
- <p class="mb-0">
26
- {% include partials/show_talk.html %}
27
- </p>
28
- <p class="font-weight-light mb-0">
29
- {% include partials/list_speakers.html %}
30
- </p>
31
-
32
- {% if talk.hide -%}
33
- {%- assign talk_scheduled = false -%}
34
- {%- for d in site.data.program.days -%}
35
- {%- include partials/get_day_hash.html -%}
36
- {%- for r in d.rooms -%}
37
- {%- assign room = site.rooms | where: 'name', r.name | first -%}
38
- {%- for t in r.talks -%}
39
- {%- if talk.name == t.name -%}
40
- <p class="mb-0">
41
-
42
- {%- if site.conference.live -%}
43
- {%- include partials/get_talk_timestamp.html -%}
44
- <span class="live-hide" data-start="{{ timestamp_start }}" data-end="{{ timestamp_end }}">
45
- {%- endif -%}
46
-
47
- {%- include partials/get_time_pronoun.html -%}
48
- {%- include partials/get_talk_time.html -%}
49
- {{- time_pronoun }} {% include partials/show_talk_time.html %}
50
-
51
- {%- if site.conference.live -%}
52
- </span>
53
- {%- include partials/show_live_button.html -%}
54
- {%- endif %}
55
-
56
- {{ site.data.lang[site.conference.lang].pronoun.in | default: "in" }} {% include partials/show_room.html -%}
57
- </p>
58
-
59
- {%- assign talk_scheduled = true -%}
60
- {%- break -%}
61
- {%- endif -%}
62
- {%- endfor -%}
63
-
64
- {%- if talk_scheduled -%}
65
- {%- break -%}
66
- {%- endif -%}
67
- {%- endfor -%}
68
-
69
- {%- if talk_scheduled -%}
70
- {%- break -%}
71
- {%- endif -%}
72
- {%- endfor -%}
73
- {%- endif %}
74
-
75
- <p class="mb-0">
76
- {%- if site.conference.live and talk.hide != true -%}
77
- {% for d in site.data.program.days -%}
78
- {%- for r in d.rooms -%}
79
- {%- for t in r.talks -%}
80
- {%- if talk.name == t.name -%}
81
- {%- assign live_button_styleclass = "mr-1" -%}
82
- {%- include partials/show_live_button.html -%}
83
- {%- endif -%}
84
- {%- endfor -%}
85
- {%- endfor -%}
86
- {%- endfor -%}
87
- {%- endif -%}
88
- {%- include partials/list_sub_categories.html -%}
89
-
90
- {%- include partials/get_link_types.html -%}
91
- {%- if has_icon_links and site.conference.talks.hide_icons != true -%}
92
- {% for link in talk.links -%}
93
- {%- assign link_styleclass = "badge badge-light text-reset font-weight-normal mr-1" -%}
94
- {%- include partials/get_link.html -%}
95
- {%- if link_icon -%}
96
- {{- link_tag -}}
97
- <i class="fas fa-{{ link_icon }} text-secondary"></i>
98
- </a>
99
- {%- endif -%}
100
- {%- endfor %}
101
- {%- endif %}
102
- </p>
103
-
104
- </li>
105
- {%- break -%}
106
- {%- endif -%}
107
- {%- endfor -%}
22
+ {% if talk.track == track.name %}
23
+ {% include partials/get_talk_overview_talk.html %}
24
+ {% endif %}
108
25
  {%- endfor %}
109
26
  </ul>
110
- {%- endfor -%}
27
+ {% endfor %}
28
+ {% else %}
29
+ <ul class="list-unstyled">
30
+ {% for talk in site.talks -%}
31
+ {% include partials/get_talk_overview_talk.html %}
32
+ {%- endfor %}
33
+ </ul>
34
+ {% endif %}
111
35
 
112
36
  {% include partials/footer.html %}
data/_layouts/talk.html CHANGED
@@ -3,24 +3,27 @@
3
3
  {%- unless talk.hide -%}
4
4
  {%- include partials/header.html -%}
5
5
 
6
- <div class="d-flex flex-md-row flex-column container-fluid mb-2 p-0">
7
- <div class="h6 mt-2 mb-0 mr-1 pr-1 pb-1">
8
- {% include partials/get_main_category.html %}
9
- <span class="d-block d-sm-inline p-1 pl-2 pr-2 border-soft-{{ main_cat_color }} bg-soft-{{ main_cat_color }} font-weight-normal">
10
- {{ main_cat }}
11
- </span>
6
+ {% if talk.track or talk.tags.size > 0 %}
7
+ <div class="d-flex flex-md-row flex-column container-fluid mb-2 p-0">
8
+ {% if talk.track %}
9
+ <div class="h6 mt-2 mb-0 mr-1 pr-1 pb-1">
10
+ {% include partials/get_track_properties.html %}
11
+ <span class="d-block d-sm-inline p-1 pl-2 pr-2 border-soft-{{ track_color }} bg-soft-{{ track_color }} font-weight-normal">
12
+ {{ talk.track }}
13
+ </span>
14
+ </div>
15
+ {% endif %}
16
+
17
+ {% if talk.tags.size > 0 %}
18
+ <div class="h6 mt-2 mb-0 ml-1 pr-1 pb-1">
19
+ {% for tag in talk.tags %}
20
+ {%- include partials/get_tag_icon.html -%}
21
+ <span class="mr-2">{{ tag_html }}</span>
22
+ {% endfor %}
23
+ </div>
24
+ {% endif %}
12
25
  </div>
13
-
14
- {% if talk.categories.size > 1 %}
15
- <div class="h6 mt-2 mb-0 ml-1 pr-1 pb-1">
16
- {% for cat in talk.categories %}
17
- {% if cat != main_cat %}
18
- <span class="mr-2">{{ cat }}</span>
19
- {% endif %}
20
- {% endfor %}
21
- </div>
22
- {% endif %}
23
- </div>
26
+ {% endif %}
24
27
 
25
28
  <h1 class="font-weight-light text-break">{{ talk.name }}</h1>
26
29
 
@@ -70,16 +73,16 @@
70
73
 
71
74
  {% include partials/get_link_types.html %}
72
75
 
73
- {% if has_icon_links %}
76
+ {% if has_icon_links > 0 %}
74
77
  <ul class="list-unstyled">
75
78
  {% for link in talk.links %}
76
79
  {% assign link_styleclass = "text-reset" %}
77
- {% include partials/get_link.html %}
80
+ {% include partials/get_link.html link_type="icon" %}
78
81
 
79
- {% if link_icon %}
82
+ {% if link_valid %}
80
83
  <li class="mb-1">
81
84
  {{ link_tag }}
82
- <span class="badge bg-soft-{{ main_cat_color }} font-weight-normal mr-1">
85
+ <span class="badge bg-soft-{{ track_color | default: 'light' }} font-weight-normal mr-1">
83
86
  <i class="fas fa-{{ link_icon }} fa-fw"></i>
84
87
  </span>
85
88
  {{- link.name }}
@@ -90,21 +93,21 @@
90
93
  </ul>
91
94
  {% endif %}
92
95
 
93
- {% if has_regular_links %}
96
+ {% if has_regular_links > 0 %}
94
97
  <h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information | default: "More information" }}:</h5>
95
98
 
96
99
  <ul class="list-unstyled">
97
100
  {% for link in talk.links %}
98
101
  {% assign link_styleclass = "text-reset" %}
99
- {% include partials/get_link.html %}
102
+ {% include partials/get_link.html link_type="regular" %}
100
103
 
101
- {% unless link_icon %}
102
- <li class="mb-1 ml-2 pl-2 border-soft-{{ main_cat_color }}">
104
+ {% if link_valid %}
105
+ <li class="mb-1 ml-2 pl-2 border-soft-{{ track_color | default: 'light' }}">
103
106
  {{ link_tag }}
104
107
  {{ link.name }}
105
108
  </a>
106
109
  </li>
107
- {% endunless %}
110
+ {% endif %}
108
111
  {% endfor %}
109
112
  </ul>
110
113
  {% endif %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-conference
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.6
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorenz Schmid
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-27 00:00:00.000000000 Z
11
+ date: 2025-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '12.0'
55
- description:
55
+ description:
56
56
  email:
57
57
  - lorenzschmid@users.noreply.github.com
58
58
  executables: []
@@ -83,19 +83,20 @@ files:
83
83
  - _includes/partials/get_link.html
84
84
  - _includes/partials/get_link_types.html
85
85
  - _includes/partials/get_live_timestamps.html
86
- - _includes/partials/get_main_category.html
87
86
  - _includes/partials/get_page_description.html
88
87
  - _includes/partials/get_page_title.html
89
88
  - _includes/partials/get_room_live_href.html
89
+ - _includes/partials/get_tag_icon.html
90
+ - _includes/partials/get_talk_overview_talk.html
90
91
  - _includes/partials/get_talk_time.html
91
92
  - _includes/partials/get_talk_timestamp.html
92
93
  - _includes/partials/get_time_pronoun.html
94
+ - _includes/partials/get_track_properties.html
93
95
  - _includes/partials/header.html
94
96
  - _includes/partials/info_bar.html
95
- - _includes/partials/list_categories.html
96
97
  - _includes/partials/list_page_meta.html
97
98
  - _includes/partials/list_speakers.html
98
- - _includes/partials/list_sub_categories.html
99
+ - _includes/partials/list_tags.html
99
100
  - _includes/partials/modal_link.html
100
101
  - _includes/partials/modal_live.html
101
102
  - _includes/partials/navbar.html
@@ -272,7 +273,7 @@ homepage: https://github.com/DigitaleGesellschaft/jekyll-theme-conference/
272
273
  licenses:
273
274
  - MIT
274
275
  metadata: {}
275
- post_install_message:
276
+ post_install_message:
276
277
  rdoc_options: []
277
278
  require_paths:
278
279
  - lib
@@ -287,8 +288,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
287
288
  - !ruby/object:Gem::Version
288
289
  version: '0'
289
290
  requirements: []
290
- rubygems_version: 3.4.19
291
- signing_key:
291
+ rubygems_version: 3.5.22
292
+ signing_key:
292
293
  specification_version: 4
293
294
  summary: Jekyll template for a conference website containing program, speaker, talks
294
295
  and room overview.
@@ -1,9 +0,0 @@
1
- {%- for main_cat in site.conference.talks.main_categories -%}
2
- {%- for cat in talk.categories -%}
3
- {%- if cat == main_cat.name -%}
4
- {%- assign main_cat = main_cat.name -%}
5
- {%- assign main_cat_color = main_cat.color -%}
6
- {%- break -%}
7
- {%- endif -%}
8
- {%- endfor -%}
9
- {%- endfor -%}
@@ -1,4 +0,0 @@
1
- {%- include partials/get_main_category.html -%}
2
-
3
- <span class="badge badge-{{ main_cat_color }}">{{ main_cat }}</span>
4
- {%- include partials/list_sub_categories.html -%}
@@ -1,8 +0,0 @@
1
- {%- assign has_sub_categories = false -%}
2
-
3
- {%- for cat in talk.categories -%}
4
- {%- if cat != main_cat -%}
5
- {%- assign has_sub_categories = true -%}
6
- <span class="badge badge-light text-reset font-weight-normal">{{ cat }}</span>&nbsp;
7
- {%- endif -%}
8
- {%- endfor -%}