jekyll-theme-conference 2.5.1 → 3.0.1
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.
- checksums.yaml +4 -4
- data/README.md +89 -54
- data/_includes/js/conference-live.js +308 -104
- data/_includes/js/conference-modal.js +32 -15
- data/_includes/js/conference-program.js +48 -0
- data/_includes/js/conference.js +11 -11
- data/_includes/js/jquery-3.5.1.min.js +2 -0
- data/_includes/partials/checks.html +66 -31
- data/_includes/partials/footer.html +6 -22
- data/_includes/partials/get_day_hash.html +20 -0
- data/_includes/partials/get_day_time.html +19 -0
- data/_includes/partials/get_link.html +56 -64
- data/_includes/partials/get_link_types.html +14 -14
- data/_includes/partials/get_live_timestamps.html +49 -0
- data/_includes/partials/get_main_category.html +9 -9
- data/_includes/partials/get_talk_time.html +7 -7
- data/_includes/partials/get_talk_timestamp.html +4 -0
- data/_includes/partials/get_time_pronoun.html +6 -0
- data/_includes/partials/header.html +15 -12
- data/_includes/partials/info_bar.html +22 -22
- data/_includes/partials/list_categories.html +2 -2
- data/_includes/partials/list_speakers.html +14 -18
- data/_includes/partials/list_sub_categories.html +7 -7
- data/_includes/partials/modal_link.html +21 -0
- data/_includes/partials/{live-modal.html → modal_live.html} +20 -9
- data/_includes/partials/navbar.html +33 -32
- data/_includes/partials/navbar_rooms.html +21 -20
- data/_includes/partials/{live_button.html → show_live_button.html} +6 -8
- data/_includes/partials/show_room.html +5 -5
- data/_includes/partials/show_talk.html +3 -3
- data/_includes/partials/show_talk_duration.html +1 -1
- data/_includes/partials/show_talk_time.html +16 -2
- data/_layouts/data.html +91 -0
- data/_layouts/home.html +54 -6
- data/_layouts/program.html +179 -148
- data/_layouts/room.html +42 -38
- data/_layouts/speaker.html +41 -39
- data/_layouts/talk-overview.html +83 -53
- data/_layouts/talk.html +38 -39
- data/_sass/conference.scss +29 -7
- data/assets/icons/live.svg +33 -57
- data/assets/js/data.json +3 -0
- data/assets/js/main.js +0 -6
- metadata +14 -8
- data/_includes/js/jquery-3.2.1.slim.min.js +0 -4
- data/_includes/partials/get_conf_time.html +0 -54
- data/_includes/partials/get_timestamp.html +0 -4
- data/_layouts/delete_hidden.html +0 -25
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
{
|
|
3
|
-
{
|
|
4
|
-
{
|
|
5
|
-
{
|
|
1
|
+
{%- if talk -%}
|
|
2
|
+
{%- assign links = talk.links -%}
|
|
3
|
+
{%- else if speaker -%}
|
|
4
|
+
{%- assign links = speaker.links -%}
|
|
5
|
+
{%- endif -%}
|
|
6
6
|
|
|
7
|
-
{
|
|
8
|
-
{
|
|
9
|
-
{
|
|
10
|
-
{
|
|
11
|
-
{
|
|
12
|
-
{
|
|
13
|
-
{
|
|
14
|
-
{
|
|
15
|
-
{
|
|
7
|
+
{%- assign has_icon_links = false -%}
|
|
8
|
+
{%- assign has_regular_links = false -%}
|
|
9
|
+
{%- for link in links -%}
|
|
10
|
+
{%- if link.icon or link.file or link.video -%}
|
|
11
|
+
{%- assign has_icon_links = true -%}
|
|
12
|
+
{%- else -%}
|
|
13
|
+
{%- assign has_regular_links = true -%}
|
|
14
|
+
{%- endif -%}
|
|
15
|
+
{%- endfor -%}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{%- assign min_pause = site.conference.live.time_stop | default: 240 -%}
|
|
2
|
+
{%- assign min_pause = min_pause | times: 60 -%}
|
|
3
|
+
|
|
4
|
+
{%- if site.conference.live.streaming -%}
|
|
5
|
+
{%- assign offset_start = site.conference.live.streaming.time_prepend | default: 5 -%}
|
|
6
|
+
{%- assign offset_end = site.conference.live.streaming.time_extend | default: 5 -%}
|
|
7
|
+
{%- else -%}
|
|
8
|
+
{%- assign offset_start = 0 -%}
|
|
9
|
+
{%- assign offset_end = 0 -%}
|
|
10
|
+
{%- endif -%}
|
|
11
|
+
|
|
12
|
+
{%- assign live_starts = "" -%}
|
|
13
|
+
{%- assign live_ends = "" -%}
|
|
14
|
+
|
|
15
|
+
{%- for d in site.data.program.days -%}
|
|
16
|
+
{%- for r in d.rooms -%}
|
|
17
|
+
{%- assign last_end = 0 -%}
|
|
18
|
+
|
|
19
|
+
{%- for t in r.talks -%}
|
|
20
|
+
{%- include partials/get_talk_timestamp.html -%}
|
|
21
|
+
|
|
22
|
+
{%- assign last_pause = timestamp_start | minus: last_end -%}
|
|
23
|
+
|
|
24
|
+
{%- if forloop.last == true or last_pause >= min_pause and forloop.index0 > 0 -%}
|
|
25
|
+
{%- if forloop.last -%}
|
|
26
|
+
{%- assign last_end = timestamp_end -%}
|
|
27
|
+
{%- endif -%}
|
|
28
|
+
|
|
29
|
+
{%- assign live_end = offset_end | times: 60 | plus: last_end %}
|
|
30
|
+
{%- if live_ends == "" -%}
|
|
31
|
+
{%- assign live_ends = live_end -%}
|
|
32
|
+
{%- else -%}
|
|
33
|
+
{%- assign live_ends = live_ends | append: "," | append: live_end -%}
|
|
34
|
+
{%- endif -%}
|
|
35
|
+
{%- endif -%}
|
|
36
|
+
|
|
37
|
+
{%- if forloop.index0 == 0 or last_pause >= min_pause -%}
|
|
38
|
+
{%- assign live_start = offset_start | times: -60 | plus: timestamp_start -%}
|
|
39
|
+
{%- if live_starts == "" -%}
|
|
40
|
+
{%- assign live_starts = live_start -%}
|
|
41
|
+
{%- else -%}
|
|
42
|
+
{%- assign live_starts = live_starts | append: "," | append: live_start -%}
|
|
43
|
+
{%- endif -%}
|
|
44
|
+
{%- endif -%}
|
|
45
|
+
|
|
46
|
+
{%- assign last_end = timestamp_end -%}
|
|
47
|
+
{%- endfor -%}
|
|
48
|
+
{%- endfor -%}
|
|
49
|
+
{%- endfor -%}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{
|
|
2
|
-
{
|
|
3
|
-
{
|
|
4
|
-
{
|
|
5
|
-
{
|
|
6
|
-
{
|
|
7
|
-
{
|
|
8
|
-
{
|
|
9
|
-
{
|
|
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,9 +1,9 @@
|
|
|
1
|
-
{
|
|
2
|
-
{
|
|
1
|
+
{%- assign talk_start = t.time_start -%}
|
|
2
|
+
{%- assign talk_end = t.time_end -%}
|
|
3
3
|
|
|
4
|
-
{
|
|
5
|
-
{
|
|
6
|
-
{
|
|
7
|
-
{
|
|
4
|
+
{%- assign talk_start_hour = talk_start | split: ':' | first -%}
|
|
5
|
+
{%- assign talk_start_min = talk_start | split: ':' | last | divided_by: site.conference.program.time_steps | floor | times: site.conference.program.time_steps -%}
|
|
6
|
+
{%- assign talk_end_hour = talk_end | split: ':' | first -%}
|
|
7
|
+
{%- assign talk_end_min = talk_end | split: ':' | last | divided_by: site.conference.program.time_steps | ceil | times: site.conference.program.time_steps -%}
|
|
8
8
|
|
|
9
|
-
{
|
|
9
|
+
{%- assign talk_duration_min = talk_end_hour | minus: talk_start_hour | times: 60 | minus: talk_start_min | plus: talk_end_min -%}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{%- assign nbr_days = site.data.program.days | size -%}
|
|
2
|
+
{%- if nbr_days > 1 and day_abbr -%}
|
|
3
|
+
{%- assign time_pronoun = site.data.lang[site.conference.lang].pronoun.on_ | default: "on" -%}
|
|
4
|
+
{%- else -%}
|
|
5
|
+
{%- assign time_pronoun = site.data.lang[site.conference.lang].pronoun.at | default: "at" -%}
|
|
6
|
+
{%- endif -%}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="{{ site.conference.lang }}">
|
|
2
|
+
<html lang="{{ site.conference.lang | default: 'en' }}">
|
|
3
3
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8" />
|
|
@@ -10,36 +10,39 @@
|
|
|
10
10
|
</title>
|
|
11
11
|
<meta name="description" content="{{ site.description }}" />
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css" />
|
|
13
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css?t={{ site.time | date: "%s" }}" />
|
|
14
14
|
|
|
15
|
-
{
|
|
16
|
-
|
|
17
|
-
{
|
|
15
|
+
<link rel="preload" as="font" href="{{ site.baseurl }}/assets/webfonts/fa-regular-400.woff2" type="font/woff2" crossorigin="anonymous" />
|
|
16
|
+
<link rel="preload" as="font" href="{{ site.baseurl }}/assets/webfonts/fa-solid-900.woff2" type="font/woff2" crossorigin="anonymous" />
|
|
17
|
+
{% if site.conference.live -%}
|
|
18
|
+
<link rel="prefetch" as="image" href="{{ site.baseurl }}/assets/icons/live.svg" type="image/svg+xml" crossorigin="anonymous" />
|
|
19
|
+
<link rel="prefetch" as="fetch" href="{{ site.baseurl }}/assets/js/data.json" type="application/json" crossorigin="anonymous" />
|
|
20
|
+
{%- endif %}
|
|
18
21
|
|
|
19
22
|
{%- if site.conference.live.streaming -%}
|
|
20
23
|
{%- for room in site.rooms -%}
|
|
21
|
-
{%- if room.live
|
|
22
|
-
|
|
24
|
+
{%- if room.live %}
|
|
25
|
+
<link rel="preconnect" href="{{ room.live }}" />
|
|
23
26
|
{%- endif -%}
|
|
24
27
|
{%- endfor -%}
|
|
25
|
-
{%- endif
|
|
28
|
+
{%- endif %}
|
|
26
29
|
</head>
|
|
27
30
|
|
|
28
31
|
<body class="pb-4">
|
|
29
32
|
<header>
|
|
30
33
|
<!-- navigation bar (web only): -->
|
|
31
|
-
{
|
|
34
|
+
{%- include partials/navbar.html -%}
|
|
32
35
|
|
|
33
|
-
{
|
|
36
|
+
{%- unless page.url == "/" -%}
|
|
34
37
|
<!-- site title (print only): -->
|
|
35
38
|
<div class="container d-none d-print-block mt-4 mb-4">
|
|
36
39
|
<h1 class="display-4">
|
|
37
40
|
{{ site.title }}
|
|
38
41
|
</h1>
|
|
39
42
|
</div>
|
|
40
|
-
{
|
|
43
|
+
{%- endunless -%}
|
|
41
44
|
|
|
42
45
|
</header>
|
|
43
46
|
<main class="container">
|
|
44
47
|
|
|
45
|
-
{
|
|
48
|
+
{%- include partials/info_bar.html -%}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
{
|
|
3
|
-
{
|
|
4
|
-
{
|
|
1
|
+
{%- if site.conference.show_errors -%}
|
|
2
|
+
{%- include partials/checks.html -%}
|
|
3
|
+
{%- if errors.size > 0 -%}
|
|
4
|
+
{%- for error in errors %}
|
|
5
5
|
<div class="alert alert-danger fade show" role="alert">
|
|
6
6
|
<h5 class="alert-heading">There was an error when generating when generating the site!</h5>
|
|
7
7
|
|
|
8
8
|
{{ error | markdownify }}
|
|
9
9
|
</div>
|
|
10
|
-
{
|
|
11
|
-
{
|
|
12
|
-
{
|
|
10
|
+
{%- endfor -%}
|
|
11
|
+
{%- endif -%}
|
|
12
|
+
{%- endif -%}
|
|
13
13
|
|
|
14
|
-
{
|
|
15
|
-
{
|
|
16
|
-
{
|
|
17
|
-
{
|
|
18
|
-
{
|
|
19
|
-
{
|
|
20
|
-
{
|
|
21
|
-
{
|
|
14
|
+
{%- if site.conference.info_bars.size > 0 -%}
|
|
15
|
+
{%- for info_bar in site.conference.info_bars -%}
|
|
16
|
+
{%- if page.url == "/" and info_bar.pages_only != true -%}
|
|
17
|
+
{%- assign show_info_bar = true -%}
|
|
18
|
+
{%- endif -%}
|
|
19
|
+
{%- if page.url != "/" and info_bar.main_only != true -%}
|
|
20
|
+
{%- assign show_info_bar = true -%}
|
|
21
|
+
{%- endif -%}
|
|
22
22
|
|
|
23
|
-
{
|
|
23
|
+
{%- if show_info_bar %}
|
|
24
24
|
<div class="alert alert-{{ info_bar.color }} alert-dismissible fade show" role="alert">
|
|
25
|
-
{
|
|
25
|
+
{%- if info_bar.title %}
|
|
26
26
|
<h4 class="alert-heading">{{ info_bar.title }}</h4>
|
|
27
|
-
{
|
|
27
|
+
{%- endif %}
|
|
28
28
|
|
|
29
29
|
{{ info_bar.text | markdownify }}
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<span aria-hidden="true">×</span>
|
|
33
33
|
</button>
|
|
34
34
|
</div>
|
|
35
|
-
{
|
|
36
|
-
{
|
|
37
|
-
{
|
|
38
|
-
{
|
|
35
|
+
{%- endif -%}
|
|
36
|
+
{%- assign show_info_bar = false -%}
|
|
37
|
+
{%- endfor -%}
|
|
38
|
+
{%- endif -%}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
1
|
+
{%- include partials/get_main_category.html -%}
|
|
2
2
|
|
|
3
3
|
<span class="badge badge-{{ main_cat_color }}">{{ main_cat }}</span>
|
|
4
|
-
{
|
|
4
|
+
{%- include partials/list_sub_categories.html -%}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
{
|
|
3
|
-
{
|
|
4
|
-
{
|
|
5
|
-
{
|
|
6
|
-
{
|
|
7
|
-
{
|
|
1
|
+
{%- for speaker_name in talk.speakers -%}
|
|
2
|
+
{%- assign speaker = site.speakers | where: 'name', speaker_name | first -%}
|
|
3
|
+
{%- if site.conference.speakers.show_firstname -%}
|
|
4
|
+
{%- assign speaker_short = speaker.first_name | append: ' ' | append: speaker.last_name -%}
|
|
5
|
+
{%- else -%}
|
|
6
|
+
{%- assign speaker_short = speaker.first_name | slice: 0 | append : '. ' | append: speaker.last_name -%}
|
|
7
|
+
{%- endif -%}
|
|
8
8
|
|
|
9
|
-
{
|
|
10
|
-
{{ speaker_short }}
|
|
11
|
-
{
|
|
12
|
-
<a class="text-reset" href="{{ speaker.url | prepend: site.baseurl }}">{{ speaker_short }}</a
|
|
13
|
-
{
|
|
14
|
-
{
|
|
15
|
-
-->,
|
|
16
|
-
{% else %}
|
|
17
|
-
-->
|
|
18
|
-
{% endif %}
|
|
9
|
+
{%- if speaker.hide -%}
|
|
10
|
+
{{ speaker_short }}
|
|
11
|
+
{%- else -%}
|
|
12
|
+
<a class="text-reset" href="{{ speaker.url | prepend: site.baseurl }}">{{ speaker_short }}</a>
|
|
13
|
+
{%- endif -%}
|
|
14
|
+
{%- if forloop.last != true %}, {% endif -%}
|
|
19
15
|
|
|
20
|
-
{
|
|
16
|
+
{%- endfor -%}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
1
|
+
{%- assign has_sub_categories = false -%}
|
|
2
2
|
|
|
3
|
-
{
|
|
4
|
-
{
|
|
5
|
-
{
|
|
6
|
-
<span class="badge badge-light text-reset font-weight-normal">{{ cat }}</span
|
|
7
|
-
{
|
|
8
|
-
{
|
|
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>
|
|
7
|
+
{%- endif -%}
|
|
8
|
+
{%- endfor -%}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<div class="modal fade" id="link-modal" tabindex="-1" role="dialog" aria-labelledby="link-modal-label" aria-hidden="true">
|
|
2
|
+
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
|
|
3
|
+
<div class="modal-content">
|
|
4
|
+
<div class="modal-header">
|
|
5
|
+
<div class="modal-title" id="link-modal-label">
|
|
6
|
+
<h3 class="mb-2 font-weight-light"></h3>
|
|
7
|
+
<h5 class="mb-0 font-weight-light"></h5>
|
|
8
|
+
</div>
|
|
9
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
10
|
+
<span aria-hidden="true">×</span>
|
|
11
|
+
</button>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="modal-body embed-responsive embed-responsive-16by9">
|
|
14
|
+
<iframe class="embed-responsive-item" src="" allowfullscreen></iframe>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="modal-footer justify-content-start">
|
|
17
|
+
<p></p>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div class="modal fade" id="stream-modal" tabindex="-1" role="dialog" aria-labelledby="link-modal-label" aria-hidden="true">
|
|
2
|
-
<div class="modal-dialog modal-
|
|
2
|
+
<div class="modal-dialog modal-lg" role="document">
|
|
3
3
|
<div class="modal-content">
|
|
4
|
+
|
|
4
5
|
<div class="modal-header">
|
|
5
6
|
<h5 class="modal-title">
|
|
6
7
|
{{ site.data.lang[site.conference.lang].live.streaming | default: "Live Stream" }}
|
|
@@ -9,29 +10,39 @@
|
|
|
9
10
|
<span aria-hidden="true">×</span>
|
|
10
11
|
</button>
|
|
11
12
|
</div>
|
|
13
|
+
|
|
12
14
|
<div class="modal-body embed-responsive embed-responsive-16by9">
|
|
13
15
|
<iframe class="embed-responsive-item" src="" allowfullscreen></iframe>
|
|
14
16
|
<div id="stream-placeholder" class="embed-responsive-item d-none justify-content-center align-items-center">
|
|
15
17
|
<div></div>
|
|
16
18
|
</div>
|
|
17
19
|
</div>
|
|
18
|
-
<div class="modal-footer justify-content-around">
|
|
19
|
-
{% for r in site.data.program %}
|
|
20
|
-
{% assign room = site.rooms | where: 'name', r.room | first %}
|
|
21
20
|
|
|
21
|
+
<div class="modal-footer flex-column justify-content-start d-none live-past" id="stream-info" data-time="">
|
|
22
|
+
<div class="my-0 small align-self-start live-time" id="stream-info-time" data-time=""></div>
|
|
23
|
+
<div class="pl-2 align-self-start" id="stream-info-color">
|
|
24
|
+
<p class="mb-0">
|
|
25
|
+
<a class="text-reset" href="#" id="stream-info-talk"></a>
|
|
26
|
+
</p>
|
|
27
|
+
<p class="font-weight-light mb-0" id="stream-info-speakers"></p>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="modal-footer justify-content-around">
|
|
32
|
+
{%- for room in site.rooms -%}
|
|
22
33
|
<a id="stream-button{{ forloop.index }}" href="#" class="btn btn-outline-primary d-none d-sm-inline {% unless room.live %}disabled{% endunless %}" role="button" data-room="{{ room.name }}">
|
|
23
34
|
{{ room.name }}
|
|
24
35
|
</a>
|
|
25
|
-
{
|
|
36
|
+
{%- endfor %}
|
|
26
37
|
<div class="form-group w-100 d-block d-sm-none">
|
|
27
38
|
<select class="form-control" id="stream-select">
|
|
28
|
-
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
{% endfor %}
|
|
39
|
+
{%- for room in site.rooms -%}
|
|
40
|
+
<option value="{{ forloop.index }}" {% unless room.live %}disabled{% endunless %}>{{ room.name }}</option>
|
|
41
|
+
{%- endfor %}
|
|
32
42
|
</select>
|
|
33
43
|
</div>
|
|
34
44
|
</div>
|
|
45
|
+
|
|
35
46
|
</div>
|
|
36
47
|
</div>
|
|
37
48
|
</div>
|
|
@@ -9,43 +9,44 @@
|
|
|
9
9
|
|
|
10
10
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
11
11
|
<ul class="navbar-nav mr-auto">
|
|
12
|
-
{
|
|
13
|
-
|
|
12
|
+
{%- for link in site.conference.navigation.links -%}
|
|
13
|
+
|
|
14
|
+
{%- if link.menu %}
|
|
14
15
|
<li class="nav-item dropdown">
|
|
15
16
|
<a class="nav-link dropdown-toggle" href="#" id="navbar-dropdown{{ forloop.index0 }}" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
16
17
|
{{ link.name }}
|
|
17
18
|
</a>
|
|
18
19
|
<div class="dropdown-menu" aria-labelledby="navbar-dropdown{{ forloop.index0 }}">
|
|
19
|
-
{
|
|
20
|
-
{
|
|
21
|
-
{
|
|
22
|
-
{
|
|
20
|
+
{%- assign parent_link = link -%}
|
|
21
|
+
{%- for link in parent_link.menu -%}
|
|
22
|
+
{%- assign link_styleclass = "dropdown-item" -%}
|
|
23
|
+
{%- include partials/get_link.html %}
|
|
23
24
|
{{ link_tag }}
|
|
24
25
|
{{ link.name }}
|
|
25
26
|
</a>
|
|
26
|
-
{
|
|
27
|
+
{%- endfor %}
|
|
27
28
|
</div>
|
|
28
29
|
</li>
|
|
29
30
|
|
|
30
|
-
{
|
|
31
|
-
{
|
|
32
|
-
{% assign time_start = conf_start %}
|
|
33
|
-
{% assign time_end = conf_end %}
|
|
34
|
-
{% include partials/get_timestamp.html %}
|
|
31
|
+
{%- elsif link.live -%}
|
|
32
|
+
{%- include partials/get_live_timestamps.html -%}
|
|
35
33
|
|
|
36
|
-
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
{%- if link.name_inactive -%}
|
|
35
|
+
<li class="nav-item live-hide" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
|
|
36
|
+
<a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">
|
|
37
|
+
{{ link.name_inactive }}
|
|
38
|
+
</a>
|
|
39
|
+
</li>
|
|
40
|
+
{%- endif -%}
|
|
40
41
|
|
|
41
|
-
<li class="nav-item live-show d-none" data-start="{{
|
|
42
|
-
{
|
|
42
|
+
<li class="nav-item live-show d-none" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
|
|
43
|
+
{%- if site.conference.live.streaming %}
|
|
43
44
|
<a class="nav-link" title="{% if link.name %}{{ link.name }}{% else %}{{ site.data.lang[site.conference.lang].live.streaming | default: "Live Stream" }}{% endif %}" data-toggle="modal" data-target="#stream-modal" data-room="" href="#">
|
|
44
|
-
{
|
|
45
|
-
{
|
|
46
|
-
{
|
|
45
|
+
{%- else %}
|
|
46
|
+
{%- assign link_styleclass = "nav-link" -%}
|
|
47
|
+
{%- include partials/get_link.html %}
|
|
47
48
|
{{ link_tag }}
|
|
48
|
-
{
|
|
49
|
+
{%- endif %}
|
|
49
50
|
|
|
50
51
|
{{ link.name | default: "" }}
|
|
51
52
|
|
|
@@ -56,30 +57,30 @@
|
|
|
56
57
|
</a>
|
|
57
58
|
</li>
|
|
58
59
|
|
|
59
|
-
{
|
|
60
|
+
{%- else %}
|
|
60
61
|
<li class="nav-item {% if page.url contains link.relative_url %}active{% endif %}">
|
|
61
|
-
{
|
|
62
|
-
{
|
|
62
|
+
{%- assign link_styleclass = "nav-link" -%}
|
|
63
|
+
{%- include partials/get_link.html -%}
|
|
63
64
|
{{ link_tag }}
|
|
64
65
|
{{ link.name }}
|
|
65
66
|
</a>
|
|
66
67
|
</li>
|
|
67
|
-
{
|
|
68
|
-
{
|
|
68
|
+
{%- endif -%}
|
|
69
|
+
{%- endfor %}
|
|
69
70
|
</ul>
|
|
70
71
|
</div>
|
|
71
72
|
|
|
72
|
-
{
|
|
73
|
+
{%- if site.conference.navigation.logo %}
|
|
73
74
|
<div class="navbar-brand navbar-logo mr-0 w-25 text-right overflow-hidden">
|
|
74
75
|
<a href="{{ site.conference.navigation.logo.url }}">
|
|
75
|
-
{
|
|
76
|
+
{%- if site.conference.navigation.logo.img %}
|
|
76
77
|
<img src="{{ site.conference.navigation.logo.img | prepend: '/assets/images/' | prepend: site.baseurl }}" class="align-middle" alt="{{ site.conference.navigation.logo.name }}" />
|
|
77
|
-
{
|
|
78
|
+
{%- else %}
|
|
78
79
|
{{ site.conference.navigation.logo.name }}
|
|
79
|
-
{
|
|
80
|
+
{%- endif %}
|
|
80
81
|
</a>
|
|
81
82
|
</div>
|
|
82
|
-
{
|
|
83
|
+
{%- endif %}
|
|
83
84
|
|
|
84
85
|
</div>
|
|
85
86
|
</nav>
|