jekyll-theme-conference 2.3.0 → 2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a0fad6956153d771e9df4ec3913930b83fd63578f2dfe4fa7f75cd3ae86c646
4
- data.tar.gz: 26095d7b5815eb8d5a40e1a930cce74eeaf608d5f3b1dfa7eaad3882bcdba078
3
+ metadata.gz: c720f58e937e6ff0aed3eee7e9107c09d8c23d5b0baa5724c54a23cacb33ee4b
4
+ data.tar.gz: 5e7b98cde919f1a3dd6290b46d287ea73565bf0d40927f82fa6ecce00cc52044
5
5
  SHA512:
6
- metadata.gz: a5478b0f9e44fcbf373a26e60edf545c102757f3bc2dc50ad2b8edbb7a557826135a87dc4b692d2e8caecac970a82112abf9dc887aff6557fbd7e66756b6001e
7
- data.tar.gz: ae1b7d2aef7316b2a17b4df34b69e59dd11b7c66201c89c618f7b4ee5591c1887b19cd6eee72808c612934963ecac55960cbdeb4330706095c6bdfd231fee569
6
+ metadata.gz: ed80869f7fc9dbb226ccfee9e4eb3c537e64dd3f0a9db674afb24cb48dffd4b50e31be01c50bbd635493de0c4490388c52fba0cb88119fedaabeadd487e89951
7
+ data.tar.gz: 7058af0d31c5b99356d5c33707df521c3858759aa3180143fd8d1d2ca3ddefb7b9a3349f320366071709d0737206ecffecb78bacddd2f06a4a02779a57a6b652
data/README.md CHANGED
@@ -165,7 +165,7 @@ _Note:_ While you might want to change the URLs, the name of the three collectio
165
165
 
166
166
  ### Language
167
167
 
168
- In order to adapt the language of the theme set the `lang` property. Make sure you have copied the internationalization file from this repository to `_data/lang.yml`. Currently the following languages are supported:
168
+ In order to adapt the language of the theme set the `lang` property. If you change it from its default, make sure you have copied the internationalization file from this repository to `_data/lang.yml`. Currently the following languages are included:
169
169
 
170
170
  - English: `en` (Default)
171
171
  - German: `de`
@@ -1,10 +1,15 @@
1
1
  {% assign errors = '' | split: ',' %}
2
2
 
3
3
  {% unless site.data.lang.version %}
4
- {% assign errors = errors | push : "The internationalization file containing different strings for this template seems to be missing. Have you copied the `_data/lang.yml` file from the [theme's repository](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/blob/master/_data/lang.yml) to you local website folder?" %}
4
+ {% unless site.conference.lang == "en" %}
5
+ {% assign errors = errors | push : "The internationalization file containing different strings for this template seems to be missing. Have you copied the `_data/lang.yml` file from the [theme's repository](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/blob/master/_data/lang.yml) to you local website folder?" %}
6
+ {% endunless %}
5
7
  {% elsif site.data.lang.version < 1 %}
6
8
  {% assign errors = errors | push : "The internationalization file in `_data/lang.yml` seems to be outdated and does not correspond to the current version of the theme. Grab the current version from the [theme's repository](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/blob/master/_data/lang.yml)." %}
7
9
  {% endunless %}
10
+ {% unless site.conference.lang == "en" or site.conference.lang == "de" or site.conference.lang == "fr" or site.conference.lang == "pt" %}
11
+ {% assign errors = errors | push : "Unknown language selected for `site.conference.lang` parameter. Supported are `en`, `de`, `fr`, and `pt`." %}
12
+ {% endunless %}
8
13
 
9
14
  {% assign program_size = site.data.program | size %}
10
15
  {% if program_size == 0 %}
@@ -25,5 +30,5 @@
25
30
 
26
31
  {% assign main_category_size = site.conference.talks.main_categories | size %}
27
32
  {% if main_category_size == 0 %}
28
- {% assign errors = errors | push : "Your `_config.yml` configuration file does not define any main category for your talks. Have you set the `conference.talks.main_categories` property? See also [Talk Settings](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/#talk-settings-main-categories) section in the theme's README file." %}
33
+ {% assign errors = errors | push : "Your `_config.yml` configuration file does not define any main category for your talks. Have you set the `conference.talks.main_categories` property? See also [Talk Settings](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/#talk-settings-main-categories-and-icons) section in the theme's README file." %}
29
34
  {% endif %}
@@ -29,7 +29,15 @@
29
29
 
30
30
  {% if talk %}
31
31
  {% capture modal_header %}
32
- <h3 class="font-weight-light">{{ talk.name }}</h3>
32
+ <h3 class="font-weight-light">
33
+ {% if talk.hide %}
34
+ {{ talk.name }}
35
+ {% else %}
36
+ <a class="text-reset" href="{{ talk.url | prepend: site.baseurl }}">
37
+ {{ talk.name }}
38
+ </a>
39
+ {% endif %}
40
+ </h3>
33
41
  <p class="mb-0 font-weight-light">
34
42
  {% include partials/list_speakers.html %}
35
43
  </p>
@@ -38,7 +46,13 @@
38
46
  {% elsif speaker %}
39
47
  {% capture modal_header %}
40
48
  <h3 class="mb-0 font-weight-light">
41
- {{ speaker.first_name }} {{ speaker.last_name }}
49
+ {% if speaker.hide %}
50
+ {{ speaker.first_name }} {{ speaker.last_name }}
51
+ {% else %}
52
+ <a class="text-reset" href="{{ speaker.url | prepend: site.baseurl }}">
53
+ {{ speaker.first_name }} {{ speaker.last_name }}
54
+ </a>
55
+ {% endif %}
42
56
  </h3>
43
57
  {% endcapture %}
44
58
  {% assign modal_desc = link.name %}
@@ -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 %}
@@ -6,7 +6,7 @@
6
6
  {% if page.title %}
7
7
  {{ page.title }}
8
8
  {% else %}
9
- {{ site.data.lang[site.conference.lang].location.title }}
9
+ {{ site.data.lang[site.conference.lang].location.title | default: "Location" }}
10
10
  {% endif %}
11
11
  </h1>
12
12
 
@@ -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].talks.legend }}</h5>
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 }}
@@ -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
 
@@ -4,7 +4,7 @@
4
4
  {% if page.title %}
5
5
  {{ page.title }}
6
6
  {% else %}
7
- {{ site.data.lang[site.conference.lang].speaker.overview }}
7
+ {{ site.data.lang[site.conference.lang].speaker.overview | default: "Speakers" }}
8
8
  {% endif %}
9
9
  </h1>
10
10
 
@@ -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">
@@ -33,7 +33,7 @@
33
33
  {% endif %}
34
34
 
35
35
  {% if has_regular_links %}
36
- <h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information }}:</h5>
36
+ <h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information | default: "More Information" }}:</h5>
37
37
 
38
38
  <ul class="list-unstyled">
39
39
  {% for link in speaker.links %}
@@ -62,7 +62,7 @@
62
62
  {% endfor %}
63
63
 
64
64
  {% if active_speaker %}
65
- <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>
66
66
 
67
67
  <ul class="list-program list-unstyled">
68
68
  {% for r in site.data.program %}
@@ -98,7 +98,7 @@
98
98
  <p class="d-print-none mt-5">
99
99
  <a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
100
100
  <i class="fas fa-users"></i>
101
- {{ site.data.lang[site.conference.lang].overview }}
101
+ {{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
102
102
  </a>
103
103
  </p>
104
104
 
@@ -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
 
@@ -33,9 +33,9 @@
33
33
 
34
34
  {% include partials/get_link_types.html %}
35
35
  {% if has_icon_links and site.conference.talks.hide_icons != true %}
36
- <span class="{% if has_sub_categories %}ml-1{% endif %}">
36
+ <span class="ml-1">
37
37
  {% for link in talk.links %}
38
- {% assign link_styleclass = "" %}
38
+ {% assign link_styleclass = "text-secondary" %}
39
39
  {% include partials/get_link.html %}
40
40
  {% if link_icon %}
41
41
  {{ link_tag -}}
@@ -58,9 +58,9 @@
58
58
  {% endfor %}
59
59
  {% endfor %}
60
60
 
61
- {{ 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 %}
62
62
 
63
- {{ 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 %}
64
64
  </p>
65
65
  {% endif %}
66
66
 
@@ -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
 
@@ -61,13 +61,13 @@
61
61
  {% if has_icon_links %}
62
62
  <ul class="list-unstyled">
63
63
  {% for link in talk.links %}
64
- {% assign link_styleclass = "" %}
64
+ {% assign link_styleclass = "text-reset" %}
65
65
  {% include partials/get_link.html %}
66
66
 
67
67
  {% if link_icon %}
68
68
  <li class="mb-1 ml-2">
69
69
  {{ link_tag }}
70
- <i class="fas fa-{{ link_icon }} pr-1"></i>
70
+ <i class="fas fa-{{ link_icon }} pr-1 text-{{ main_cat_color }}"></i>
71
71
  {{ link.name }}
72
72
  </a>
73
73
  </li>
@@ -77,7 +77,7 @@
77
77
  {% endif %}
78
78
 
79
79
  {% if has_regular_links %}
80
- <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>
81
81
 
82
82
  <ul class="list-unstyled">
83
83
  {% for link in talk.links %}
@@ -85,7 +85,7 @@
85
85
  {% include partials/get_link.html %}
86
86
 
87
87
  {% unless link_icon %}
88
- <li class="mb-1 ml-2 pl-2 border-soft-primary">
88
+ <li class="mb-1 ml-2 pl-2 border-soft-{{ main_cat_color }}">
89
89
  {{ link_tag }}
90
90
  {{ link.name }}
91
91
  </a>
@@ -98,12 +98,12 @@
98
98
  <p class="d-print-none mt-5">
99
99
  <a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
100
100
  <i class="fas fa-bullhorn"></i>
101
- {{ site.data.lang[site.conference.lang].overview }}
101
+ {{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
102
102
  </a>
103
103
 
104
104
  <a href="{{ site.conference.program.url | prepend: site.baseurl }}" class="btn btn-light">
105
105
  <i class="far fa-calendar-alt"></i>
106
- {{ site.data.lang[site.conference.lang].program.title }}
106
+ {{ site.data.lang[site.conference.lang].program.title | default: "Program" }}
107
107
  </a>
108
108
  </p>
109
109
 
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.3.0
4
+ version: 2.3.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-02 00:00:00.000000000 Z
11
+ date: 2020-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll