jekyll-theme-conference 2.1.1 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +65 -23
- data/_includes/js/bootstrap.js +0 -1
- data/_includes/js/conference-map.js +24 -0
- data/_includes/js/conference-modal.js +42 -0
- data/_includes/js/conference.js +10 -30
- data/_includes/js/leaflet-locatecontrol.js +0 -1
- data/_includes/js/leaflet.js +0 -1
- data/_includes/partials/checks.html +8 -3
- data/_includes/partials/footer.html +1 -1
- data/_includes/partials/get_link.html +87 -0
- data/_includes/partials/get_link_types.html +15 -0
- data/_includes/partials/navbar.html +12 -19
- data/_includes/partials/navbar_rooms.html +1 -1
- data/_layouts/home.html +5 -9
- data/_layouts/location.html +1 -1
- data/_layouts/program.html +3 -3
- data/_layouts/room.html +3 -3
- data/_layouts/speaker-overview.html +1 -1
- data/_layouts/speaker.html +36 -11
- data/_layouts/talk-overview.html +11 -20
- data/_layouts/talk.html +19 -31
- data/assets/js/main.js +1 -13
- metadata +6 -3
- data/_includes/partials/get_link_href.html +0 -5
@@ -1,7 +1,7 @@
|
|
1
1
|
<ul class="nav nav-pills d-print-none mb-3">
|
2
2
|
<li class="nav-item">
|
3
3
|
<a class="nav-link {% if page.name contains 'index' %}active{% endif %}" href="{{ site.conference.location.url | prepend: site.baseurl }}">
|
4
|
-
{{ site.data.lang[site.conference.lang].location.directions }}
|
4
|
+
{{ site.data.lang[site.conference.lang].location.directions | default: "Directions" }}
|
5
5
|
</a>
|
6
6
|
</li>
|
7
7
|
{% for r in site.data.program %}
|
data/_layouts/home.html
CHANGED
@@ -24,15 +24,11 @@
|
|
24
24
|
{% if site.conference.main.links %}
|
25
25
|
<p class="lead d-print-none">
|
26
26
|
{% for link in site.conference.main.links %}
|
27
|
-
{%
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
<a class="btn btn-outline-primary btn-lg mt-2" href="{% if link.absolute_url %}{{ link.absolute_url }}{% else %}{{ link.relative_url | prepend: site.baseurl }}{% endif %}" role="button">
|
33
|
-
{{ link.name }}
|
34
|
-
</a>
|
35
|
-
{% endif %}
|
27
|
+
{% assign link_styleclass = "btn btn-outline-primary btn-lg mt-2" %}
|
28
|
+
{% include partials/get_link.html %}
|
29
|
+
{{ link_tag }}
|
30
|
+
{{ link.name }}
|
31
|
+
</a>
|
36
32
|
{% endfor %}
|
37
33
|
</p>
|
38
34
|
{% endif %}
|
data/_layouts/location.html
CHANGED
data/_layouts/program.html
CHANGED
@@ -50,14 +50,14 @@
|
|
50
50
|
{% if page.title %}
|
51
51
|
{{ page.title }}
|
52
52
|
{% else %}
|
53
|
-
{{ site.data.lang[site.conference.lang].program.title }}
|
53
|
+
{{ site.data.lang[site.conference.lang].program.title | default: "Program" }}
|
54
54
|
{% endif %}
|
55
55
|
</h1>
|
56
56
|
|
57
57
|
{{ content }}
|
58
58
|
|
59
59
|
<div class="sticky-top syncscroll overflow-hidden" name="sync-table">
|
60
|
-
<table class="table">
|
60
|
+
<table class="table mb-0">
|
61
61
|
<thead>
|
62
62
|
<tr>
|
63
63
|
<th scope="col" class="text-center">#</th>
|
@@ -190,7 +190,7 @@
|
|
190
190
|
</div>
|
191
191
|
|
192
192
|
{% if site.conference.talks.main_categories %}
|
193
|
-
<h5 class="mt-4">{{ site.data.lang[site.conference.lang].
|
193
|
+
<h5 class="mt-4">{{ site.data.lang[site.conference.lang].program.legend | default: "Caption" }}</h5>
|
194
194
|
{% for main_cat in site.conference.talks.main_categories %}
|
195
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
196
|
{{ main_cat.name }}
|
data/_layouts/room.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
<!-- title shown in browser: -->
|
9
9
|
<h1 class="display-5 mb-3 d-print-none">
|
10
|
-
{{ site.data.lang[site.conference.lang].location.title }}
|
10
|
+
{{ site.data.lang[site.conference.lang].location.title | default: "Location" }}
|
11
11
|
</h1>
|
12
12
|
|
13
13
|
{% assign this_room = page %}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
{{ content }}
|
17
17
|
|
18
18
|
<h5 class="mt-4 mb-2">
|
19
|
-
{{ site.data.lang[site.conference.lang].location.talks }}:
|
19
|
+
{{ site.data.lang[site.conference.lang].location.talks | default: "Talks in this room" }}:
|
20
20
|
</h5>
|
21
21
|
<ul class="list-program list-unstyled">
|
22
22
|
{% for r in site.data.program %}
|
@@ -51,7 +51,7 @@
|
|
51
51
|
{% endfor %}
|
52
52
|
{% unless room_talks %}
|
53
53
|
<li>
|
54
|
-
<em>{{ site.data.lang[site.conference.lang].location.no_talks }}</em>
|
54
|
+
<em>{{ site.data.lang[site.conference.lang].location.no_talks | default: "no talks planned" }}</em>
|
55
55
|
</li>
|
56
56
|
{% endunless %}
|
57
57
|
|
data/_layouts/speaker.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
{% assign speaker = page %}
|
4
4
|
|
5
5
|
<p class="h6">
|
6
|
-
{{ site.data.lang[site.conference.lang].speaker.title }}
|
6
|
+
{{ site.data.lang[site.conference.lang].speaker.title | default: "Speaker" }}
|
7
7
|
</p>
|
8
8
|
|
9
9
|
<h1 class="font-weight-light mb-3">
|
@@ -12,16 +12,41 @@
|
|
12
12
|
|
13
13
|
{{ content }}
|
14
14
|
|
15
|
-
{%
|
16
|
-
|
15
|
+
{% include partials/get_link_types.html %}
|
16
|
+
|
17
|
+
{% if has_icon_links %}
|
17
18
|
<ul class="list-unstyled">
|
18
19
|
{% for link in speaker.links %}
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
{% assign link_styleclass = "" %}
|
21
|
+
{% include partials/get_link.html %}
|
22
|
+
|
23
|
+
{% if link_icon %}
|
24
|
+
<li class="mb-1 ml-2">
|
25
|
+
{{ link_tag }}
|
26
|
+
<i class="fas fa-{{ link_icon }} pr-1"></i>
|
27
|
+
{{ link.name }}
|
28
|
+
</a>
|
29
|
+
</li>
|
30
|
+
{% endif %}
|
31
|
+
{% endfor %}
|
32
|
+
</ul>
|
33
|
+
{% endif %}
|
34
|
+
|
35
|
+
{% if has_regular_links %}
|
36
|
+
<h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information | default: "More Information" }}:</h5>
|
37
|
+
|
38
|
+
<ul class="list-unstyled">
|
39
|
+
{% for link in speaker.links %}
|
40
|
+
{% assign link_styleclass = "text-reset" %}
|
41
|
+
{% include partials/get_link.html %}
|
42
|
+
|
43
|
+
{% unless link_icon %}
|
44
|
+
<li class="mb-1 ml-2 pl-2 border-soft-primary">
|
45
|
+
{{ link_tag }}
|
46
|
+
{{ link.name }}
|
47
|
+
</a>
|
48
|
+
</li>
|
49
|
+
{% endunless %}
|
25
50
|
{% endfor %}
|
26
51
|
</ul>
|
27
52
|
{% endif %}
|
@@ -37,7 +62,7 @@
|
|
37
62
|
{% endfor %}
|
38
63
|
|
39
64
|
{% if active_speaker %}
|
40
|
-
<h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].speaker.talks }}:</h5>
|
65
|
+
<h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].speaker.talks | default: "Talks at this conference" }}:</h5>
|
41
66
|
|
42
67
|
<ul class="list-program list-unstyled">
|
43
68
|
{% for r in site.data.program %}
|
@@ -73,7 +98,7 @@
|
|
73
98
|
<p class="d-print-none mt-5">
|
74
99
|
<a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
|
75
100
|
<i class="fas fa-users"></i>
|
76
|
-
{{ site.data.lang[site.conference.lang].overview }}
|
101
|
+
{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
|
77
102
|
</a>
|
78
103
|
</p>
|
79
104
|
|
data/_layouts/talk-overview.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
{% if page.title %}
|
5
5
|
{{ page.title }}
|
6
6
|
{% else %}
|
7
|
-
{{ site.data.lang[site.conference.lang].talk.overview }}
|
7
|
+
{{ site.data.lang[site.conference.lang].talk.overview | default: "Talks" }}
|
8
8
|
{% endif %}
|
9
9
|
</h1>
|
10
10
|
|
@@ -31,24 +31,15 @@
|
|
31
31
|
<p class="mb-0">
|
32
32
|
{% include partials/list_sub_categories.html %}
|
33
33
|
|
34
|
-
{%
|
35
|
-
{%
|
36
|
-
|
37
|
-
{% assign has_icon_links = true %}
|
38
|
-
{% endif %}
|
39
|
-
{% endfor %}
|
40
|
-
|
41
|
-
{% if has_icon_links %}
|
42
|
-
<span class="{% if has_sub_categories %}ml-1{% endif %}">
|
34
|
+
{% include partials/get_link_types.html %}
|
35
|
+
{% if has_icon_links and site.conference.talks.hide_icons != true %}
|
36
|
+
<span class="ml-1">
|
43
37
|
{% for link in talk.links %}
|
44
|
-
{%
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<a class="text-secondary ml-1" href="{{ link_href }}" title="{{ link.name }}">
|
50
|
-
{%- endif -%}
|
51
|
-
<i class="fas fa-{{ link.icon }} pr-1"></i></a>
|
38
|
+
{% assign link_styleclass = "text-secondary" %}
|
39
|
+
{% include partials/get_link.html %}
|
40
|
+
{% if link_icon %}
|
41
|
+
{{ link_tag -}}
|
42
|
+
<i class="fas fa-{{ link_icon }} pr-1"></i></a>
|
52
43
|
{% endif %}
|
53
44
|
{% endfor %}
|
54
45
|
</span>
|
@@ -67,9 +58,9 @@
|
|
67
58
|
{% endfor %}
|
68
59
|
{% endfor %}
|
69
60
|
|
70
|
-
{{ site.data.lang[site.conference.lang].pronoun.at }} {% include partials/show_talk_time.html %}
|
61
|
+
{{ site.data.lang[site.conference.lang].pronoun.at | default: "at" }} {% include partials/show_talk_time.html %}
|
71
62
|
|
72
|
-
{{ site.data.lang[site.conference.lang].pronoun.in }} {% include partials/show_room.html %}
|
63
|
+
{{ site.data.lang[site.conference.lang].pronoun.in | default: "in" }} {% include partials/show_room.html %}
|
73
64
|
</p>
|
74
65
|
{% endif %}
|
75
66
|
|
data/_layouts/talk.html
CHANGED
@@ -34,18 +34,18 @@
|
|
34
34
|
|
35
35
|
{% include partials/get_talk_time.html %}
|
36
36
|
<span class="d-none d-sm-inline">
|
37
|
-
{{ site.data.lang[site.conference.lang].pronoun.at }}
|
37
|
+
{{ site.data.lang[site.conference.lang].pronoun.at | default: "at" }}
|
38
38
|
</span>
|
39
39
|
{% include partials/show_talk_time.html %}
|
40
40
|
|
41
41
|
{% assign room = site.rooms | where: 'name', r.room | first %}
|
42
42
|
<span class="d-none d-sm-inline ml-1">
|
43
|
-
{{ site.data.lang[site.conference.lang].pronoun.in }}
|
43
|
+
{{ site.data.lang[site.conference.lang].pronoun.in | default: "in" }}
|
44
44
|
</span>
|
45
45
|
{% include partials/show_room.html %}
|
46
46
|
|
47
47
|
<span class="d-none d-sm-inline ml-1">
|
48
|
-
{{ site.data.lang[site.conference.lang].pronoun.for }}
|
48
|
+
{{ site.data.lang[site.conference.lang].pronoun.for | default: "for" }}
|
49
49
|
</span>
|
50
50
|
{% include partials/show_talk_duration.html %}
|
51
51
|
|
@@ -56,28 +56,18 @@
|
|
56
56
|
|
57
57
|
{{ content }}
|
58
58
|
|
59
|
-
{%
|
60
|
-
{% assign has_regular_links = false %}
|
61
|
-
{% for link in talk.links %}
|
62
|
-
{% if link.icon %}
|
63
|
-
{% assign has_icon_links = true %}
|
64
|
-
{% else %}
|
65
|
-
{% assign has_regular_links = true %}
|
66
|
-
{% endif %}
|
67
|
-
{% endfor %}
|
59
|
+
{% include partials/get_link_types.html %}
|
68
60
|
|
69
61
|
{% if has_icon_links %}
|
70
62
|
<ul class="list-unstyled">
|
71
63
|
{% for link in talk.links %}
|
72
|
-
{%
|
64
|
+
{% assign link_styleclass = "text-reset" %}
|
65
|
+
{% include partials/get_link.html %}
|
66
|
+
|
67
|
+
{% if link_icon %}
|
73
68
|
<li class="mb-1 ml-2">
|
74
|
-
{
|
75
|
-
|
76
|
-
<a class="cursor-pointer" data-toggle="modal" data-target="#link-modal" data-title="{{ link.name }}" data-href="{{ link_href }}">
|
77
|
-
{% else %}
|
78
|
-
<a href="{{ link_href }}">
|
79
|
-
{% endif %}
|
80
|
-
<i class="fas fa-{{ link.icon }} pr-1"></i>
|
69
|
+
{{ link_tag }}
|
70
|
+
<i class="fas fa-{{ link_icon }} pr-1 text-{{ main_cat_color }}"></i>
|
81
71
|
{{ link.name }}
|
82
72
|
</a>
|
83
73
|
</li>
|
@@ -87,18 +77,16 @@
|
|
87
77
|
{% endif %}
|
88
78
|
|
89
79
|
{% if has_regular_links %}
|
90
|
-
<h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information }}:</h5>
|
80
|
+
<h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information | default: "More information" }}:</h5>
|
91
81
|
|
92
82
|
<ul class="list-unstyled">
|
93
83
|
{% for link in talk.links %}
|
94
|
-
{%
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
{
|
100
|
-
<a class="text-reset" href="{{ link_href }}">
|
101
|
-
{% endif %}
|
84
|
+
{% assign link_styleclass = "text-reset" %}
|
85
|
+
{% include partials/get_link.html %}
|
86
|
+
|
87
|
+
{% unless link_icon %}
|
88
|
+
<li class="mb-1 ml-2 pl-2 border-soft-{{ main_cat_color }}">
|
89
|
+
{{ link_tag }}
|
102
90
|
{{ link.name }}
|
103
91
|
</a>
|
104
92
|
</li>
|
@@ -110,12 +98,12 @@
|
|
110
98
|
<p class="d-print-none mt-5">
|
111
99
|
<a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
|
112
100
|
<i class="fas fa-bullhorn"></i>
|
113
|
-
{{ site.data.lang[site.conference.lang].overview }}
|
101
|
+
{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
|
114
102
|
</a>
|
115
103
|
|
116
104
|
<a href="{{ site.conference.program.url | prepend: site.baseurl }}" class="btn btn-light">
|
117
105
|
<i class="far fa-calendar-alt"></i>
|
118
|
-
{{ site.data.lang[site.conference.lang].program.title }}
|
106
|
+
{{ site.data.lang[site.conference.lang].program.title | default: "Program" }}
|
119
107
|
</a>
|
120
108
|
</p>
|
121
109
|
|
data/assets/js/main.js
CHANGED
@@ -4,19 +4,7 @@
|
|
4
4
|
{% include js/conference.js %}
|
5
5
|
|
6
6
|
(function() {
|
7
|
-
|
8
|
-
var home_coord = [{{ site.conference.location.map.home_coord }}];
|
9
|
-
var default_zoom = {{ site.conference.location.map.default_zoom | default: 17 }};
|
7
|
+
if (typeof map !== 'undefined') {
|
10
8
|
|
11
|
-
if (document.getElementById('map')) {
|
12
|
-
var map = L.map('map').setView(home_coord, default_zoom);
|
13
|
-
|
14
|
-
L.tileLayer.provider(map_provider).addTo(map);
|
15
|
-
|
16
|
-
L.easyButton('far fa-star', function(){
|
17
|
-
map.setView(home_coord, default_zoom);
|
18
|
-
}).addTo(map);
|
19
|
-
|
20
|
-
L.control.locate().addTo(map);
|
21
9
|
}
|
22
10
|
})();
|
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: 2.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lorenz Schmid
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -62,6 +62,8 @@ files:
|
|
62
62
|
- LICENSE.md
|
63
63
|
- README.md
|
64
64
|
- _includes/js/bootstrap.js
|
65
|
+
- _includes/js/conference-map.js
|
66
|
+
- _includes/js/conference-modal.js
|
65
67
|
- _includes/js/conference.js
|
66
68
|
- _includes/js/jquery-3.2.1.slim.min.js
|
67
69
|
- _includes/js/leaflet-easybutton.js
|
@@ -72,7 +74,8 @@ files:
|
|
72
74
|
- _includes/js/syncscroll.js
|
73
75
|
- _includes/partials/checks.html
|
74
76
|
- _includes/partials/footer.html
|
75
|
-
- _includes/partials/
|
77
|
+
- _includes/partials/get_link.html
|
78
|
+
- _includes/partials/get_link_types.html
|
76
79
|
- _includes/partials/get_main_category.html
|
77
80
|
- _includes/partials/get_talk_time.html
|
78
81
|
- _includes/partials/header.html
|