jekyll-theme-conference 5.4.0 → 5.5.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.
- checksums.yaml +4 -4
- data/README.md +80 -19
- data/UPGRADE_GUIDE.md +10 -1
- data/_data/conference_assets.yml +3 -3
- data/_data/lang.yml +8 -0
- data/_includes/checks.html +70 -6
- data/_includes/conference_config.json +11 -6
- data/_includes/get_day_rooms.html +23 -0
- data/_includes/get_edition.html +43 -17
- data/_includes/get_link_tag_streaming.html +2 -2
- data/_includes/get_live_timestamps.html +19 -6
- data/_includes/get_talk_timestamp.html +11 -6
- data/_includes/get_visibility.html +13 -0
- data/_includes/header.html +8 -6
- data/_includes/infobox.html +26 -20
- data/_includes/list_header_meta.html +1 -1
- data/_includes/list_header_pwa.html +1 -1
- data/_includes/navbar.html +10 -6
- data/_includes/navbar_pwa.html +8 -8
- data/_includes/pwa_install.html +1 -1
- data/_includes/pwa_toasts.html +2 -1
- data/_includes/show_link_buttons.html +13 -9
- data/_includes/show_menu_items.html +1 -1
- data/_layouts/home.html +3 -3
- data/_layouts/htaccess.html +10 -5
- data/_layouts/json-site.html +7 -1
- data/_layouts/live.html +1 -1
- data/_layouts/location.html +15 -2
- data/_layouts/manifest.html +19 -1
- data/_layouts/not-found.html +12 -2
- data/_layouts/page.html +1 -1
- data/_layouts/program.html +3 -2
- data/_layouts/speaker-overview.html +1 -1
- data/_layouts/sw.js +79 -43
- data/_sass/theme.scss +7 -1
- data/assets/css/conference-only.bundle.css +1 -1
- data/assets/css/conference.bundle.css +1 -1
- data/assets/js/conference.bundle.js +2 -2
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be30df92483cbfa9799d10b22267784169417b4e032f57ba2a21b8a7961afb39
|
|
4
|
+
data.tar.gz: 0706664f9fb07a9bce1b61788f7a9904d05ba43de2c42435d9e4ba14ce00485d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 838970396eb3198143c6808538c4fa44495f40f2e3937a1af4561ea58f78922f1b98f9f3aab7377decff4b029b2af69880ef621ec47f204ea95a9628e3f77afe
|
|
7
|
+
data.tar.gz: a487d9c2b475a24d9abe60393838724f46ac85d60457cd0b5527a1d92afce669110fa4ba569a1630baa1f77268d6a54de0e368516b188f08f2df37cfca62adc0
|
data/README.md
CHANGED
|
@@ -19,12 +19,15 @@ The theme was created for the yearly Winterkongress conference of the [Digital S
|
|
|
19
19
|
|
|
20
20
|
- [Demo: Winterkongress](https://winterkongress.ch/)
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
|
|
23
|
+
## Quick Start
|
|
24
|
+
|
|
25
|
+
Create your conference website from the [template repository](https://github.com/DigitaleGesellschaft/jekyll-theme-conference-template): click **Use this template** there. Its `demo` branch shows the theme with a fictional conference.
|
|
24
26
|
|
|
25
27
|
|
|
26
28
|
## Table of Contents
|
|
27
29
|
|
|
30
|
+
- [Quick Start](#quick-start)
|
|
28
31
|
- [Installation](#installation)
|
|
29
32
|
- [Gem-based Method](#gem-based-method)
|
|
30
33
|
- [Remote Theme Method](#remote-theme-method)
|
|
@@ -52,6 +55,7 @@ The theme was created for the yearly Winterkongress conference of the [Digital S
|
|
|
52
55
|
- [Speakers](#speakers)
|
|
53
56
|
- [Rooms](#rooms)
|
|
54
57
|
- [Links](#links)
|
|
58
|
+
- [Visibility](#visibility)
|
|
55
59
|
- [Pages](#pages)
|
|
56
60
|
- [Design](#design)
|
|
57
61
|
- [Pre-compiled Bundle (Default)](#pre-compiled-bundle-default)
|
|
@@ -69,6 +73,9 @@ The theme was created for the yearly Winterkongress conference of the [Digital S
|
|
|
69
73
|
|
|
70
74
|
## Installation
|
|
71
75
|
|
|
76
|
+
> [!WARNING]
|
|
77
|
+
> If you upgrade from an earlier major version, please note the necessary changes in the [upgrade guide](UPGRADE_GUIDE.md).
|
|
78
|
+
|
|
72
79
|
There are three ways to install this theme:
|
|
73
80
|
|
|
74
81
|
1. **Gem-based method**: Install as a [Gem-based theme](https://jekyllrb.com/docs/themes/#understanding-gem-based-themes) (recommended for most users)
|
|
@@ -101,7 +108,7 @@ This allows for easier installation and updating as you don't have to manage any
|
|
|
101
108
|
|
|
102
109
|
4. Continue with the [_Setup_](#setup) section below to customize the theme and add content for your conference.
|
|
103
110
|
|
|
104
|
-
To update the theme, run `bundle update jekyll-theme-conference
|
|
111
|
+
To update the theme, run `bundle update jekyll-theme-conference` (see the [upgrade guide](UPGRADE_GUIDE.md) for major versions).
|
|
105
112
|
|
|
106
113
|
### Remote Theme Method
|
|
107
114
|
|
|
@@ -131,15 +138,15 @@ To install:
|
|
|
131
138
|
bundle
|
|
132
139
|
```
|
|
133
140
|
|
|
134
|
-
4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.
|
|
141
|
+
4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.5.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
|
135
142
|
|
|
136
143
|
```yaml
|
|
137
|
-
remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.
|
|
144
|
+
remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.5.0"
|
|
138
145
|
```
|
|
139
146
|
|
|
140
147
|
5. Continue with the [_Setup_](#setup) section below to customize the theme and add content for your conference.
|
|
141
148
|
|
|
142
|
-
To update the theme, change the version tag in the `remote_theme` value (e.g., `@v5.
|
|
149
|
+
To update the theme, change the version tag in the `remote_theme` value (e.g., `@v5.4.1` to `@v5.5.0`; see the [upgrade guide](UPGRADE_GUIDE.md) for major versions).
|
|
143
150
|
|
|
144
151
|
|
|
145
152
|
## Setup
|
|
@@ -147,7 +154,7 @@ To update the theme, change the version tag in the `remote_theme` value (e.g., `
|
|
|
147
154
|
Add the talks, speakers, rooms and the schedule of your conference as described in the section [_Content_](#content), and adapt the theme as described in the section [_Configuration_](#configuration). The tools below import them or build the site for you.
|
|
148
155
|
|
|
149
156
|
> [!TIP]
|
|
150
|
-
>
|
|
157
|
+
> Starting from scratch? Use the [template](#quick-start).
|
|
151
158
|
|
|
152
159
|
> [!TIP]
|
|
153
160
|
> Please note that the generated website can be large containing many unnecessary whitespaces. It is recommended to minimize the generated output files before uploading them to a server (e.g., with [minify](https://github.com/tdewolff/minify)).
|
|
@@ -312,7 +319,7 @@ With several [_Editions_](#editions), a menu to switch between them appears at t
|
|
|
312
319
|
- `name` labels the menu instead of the edition; a link's own `name` wins.
|
|
313
320
|
- `hide: true` removes the menu at the end, but not a link with `menu: editions`.
|
|
314
321
|
|
|
315
|
-
The installed app (see [_Progressive Web App (PWA)_](#progressive-web-app-pwa)) serves the current edition, so its navigation bar has no menu at the end. A link with `menu: editions` still shows there;
|
|
322
|
+
The installed app (see [_Progressive Web App (PWA)_](#progressive-web-app-pwa)) serves the current edition, so its navigation bar has no menu at the end. A link with `menu: editions` still shows there; hide it there with `visibility: {pwa: false}` (see [_Visibility_](#visibility)) to keep the app on the current edition.
|
|
316
323
|
|
|
317
324
|
```yaml
|
|
318
325
|
conference:
|
|
@@ -347,7 +354,7 @@ conference:
|
|
|
347
354
|
|
|
348
355
|
The navigation bar automatically collapses when the available space is too small (e.g., on a smaller screen). The breakpoints are given by [Bootstrap](https://getbootstrap.com/docs/5.3/layout/breakpoints/). The default breakpoint is `md` (collapsing if the screen width is smaller than 768px). It can be adapted by setting the `breakpoint` property under the `navigation` property to either `sm`, `md`, `lg`, or `xl`.
|
|
349
356
|
|
|
350
|
-
When installed as a progressive web application (see the [_Progressive Web App (PWA)_](#progressive-web-app-pwa) section below), the navigation bar moves to the bottom. In PWA mode, it displays link icons. A link with `live: true` appears while live before the "More" button, with the live icon above its name (default: "Live"), and outside live as a disabled entry named `name_inactive` if given. Without `name_inactive`, it takes no place outside live: while live, the last entries move into "More" to make room. The bar holds up to five entries, four on screens narrower than 390px (e.g. iPhone mini); with more, it shows one less and a "More" button opening the others in a sheet from the bottom. Menus open as such sheets too. The current page's entry is coloured and its icon switches to the filled variant if there is one (e.g. `people-fill` for `people`). To hide an entry in this mode
|
|
357
|
+
When installed as a progressive web application (see the [_Progressive Web App (PWA)_](#progressive-web-app-pwa) section below), the navigation bar moves to the bottom. In PWA mode, it displays link icons. A link with `live: true` appears while live before the "More" button, with the live icon above its name (default: "Live"), and outside live as a disabled entry named `name_inactive` if given. Without `name_inactive`, it takes no place outside live: while live, the last entries move into "More" to make room. The bar holds up to five entries, four on screens narrower than 390px (e.g. iPhone mini); with more, it shows one less and a "More" button opening the others in a sheet from the bottom. Menus open as such sheets too. The current page's entry is coloured and its icon switches to the filled variant if there is one (e.g. `people-fill` for `people`). To hide an entry in this mode or show it only there, see [_Visibility_](#visibility).
|
|
351
358
|
|
|
352
359
|
```yaml
|
|
353
360
|
conference:
|
|
@@ -357,7 +364,8 @@ conference:
|
|
|
357
364
|
icon: calendar4-week
|
|
358
365
|
relative_url: /program/
|
|
359
366
|
- name: Supporters
|
|
360
|
-
|
|
367
|
+
visibility:
|
|
368
|
+
pwa: false
|
|
361
369
|
relative_url: /supporters/
|
|
362
370
|
```
|
|
363
371
|
|
|
@@ -467,7 +475,7 @@ One or multiple information banners can be shown at the top of the website just
|
|
|
467
475
|
- `light` (white)
|
|
468
476
|
- `dark` (dark grey)
|
|
469
477
|
- an additional text (`text`, markdown supported),
|
|
470
|
-
-
|
|
478
|
+
- optionally, where to hide it (`visibility`, see [_Visibility_](#visibility)),
|
|
471
479
|
- optionally, the number of days to keep the info bar dismissed after a user closes it (`dismissal_days`, default: `7`). Each info bar can have its own dismissal period. Setting `dismissal_days: 0` will disable dismissibility entirely (no close button will be shown, and the info bar cannot be dismissed).
|
|
472
480
|
- optionally, a list of link buttons (`links`).
|
|
473
481
|
|
|
@@ -475,10 +483,21 @@ Information modals appear as modal dialog popups that overlay the page content,
|
|
|
475
483
|
|
|
476
484
|
- a title (`title`),
|
|
477
485
|
- an additional text (`text`, markdown supported),
|
|
478
|
-
-
|
|
486
|
+
- optionally, where to hide it (`visibility`, see [_Visibility_](#visibility)),
|
|
479
487
|
- optionally, the number of days to keep the info modal dismissed after a user closes it (`dismissal_days`, default: `7`). Each modal can have its own dismissal period. Setting `dismissal_days: 0` will disable dismissibility entirely (cannot be closed).
|
|
480
488
|
- optionally, a list of link buttons (`links`) in its footer instead of the close button. Following one dismisses the modal.
|
|
481
489
|
|
|
490
|
+
Bars and modals shown on a single page only go into the `info` property of its Front Matter instead, e.g. in `index.md` for the main landing page:
|
|
491
|
+
|
|
492
|
+
```yaml
|
|
493
|
+
layout: home
|
|
494
|
+
info:
|
|
495
|
+
bars:
|
|
496
|
+
- title: Welcome!
|
|
497
|
+
color: info
|
|
498
|
+
text: Grab a coffee at the entrance.
|
|
499
|
+
```
|
|
500
|
+
|
|
482
501
|
Modals automatically appear when a page loads. The dismissal state is persisted in the browser's localStorage, so users won't see dismissed modals again until the dismissal period expires.
|
|
483
502
|
|
|
484
503
|
Example:
|
|
@@ -489,7 +508,6 @@ conference:
|
|
|
489
508
|
# Information modals (shown as modal dialogs)
|
|
490
509
|
modals:
|
|
491
510
|
- title: Important Announcement
|
|
492
|
-
main_only: true
|
|
493
511
|
dismissal_days: 7
|
|
494
512
|
text: This is an information modal that appears as a dialog.
|
|
495
513
|
links:
|
|
@@ -500,7 +518,6 @@ conference:
|
|
|
500
518
|
bars:
|
|
501
519
|
- title: Sold Out!
|
|
502
520
|
color: primary
|
|
503
|
-
main_only: true
|
|
504
521
|
dismissal_days: 14
|
|
505
522
|
text: |
|
|
506
523
|
We're truly sorry but we are **sold out**.
|
|
@@ -626,7 +643,7 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
|
|
|
626
643
|
|
|
627
644
|
Short notices of the app appear as a toast at the bottom of the page (in the app above its navigation bar), one at a time:
|
|
628
645
|
|
|
629
|
-
- On phones and tablets (iOS and Android), a toast invites visitors to install the app. Its button opens the browser's install prompt where available (Chrome on Android), otherwise a panel at the bottom explaining in three steps how to add the app to the home screen. Closing the toast hides it for 30 days. It is not shown on desktops, within the installed app
|
|
646
|
+
- On phones and tablets (iOS and Android), a toast invites visitors to install the app. Its button opens the browser's install prompt where available (Chrome on Android), otherwise a panel at the bottom explaining in three steps how to add the app to the home screen. Closing the toast or opening its install steps hides it for 30 days. It is not shown on desktops, within the installed app, on past [editions](#editions) or without `icons`. Set `install_toast: false` to turn this toast off.
|
|
630
647
|
- Within the app, once a new build of the site changed (e.g. a schedule change), a toast offers to reload all modified pages. Rebuilding the site alone does not count as a change.
|
|
631
648
|
|
|
632
649
|
> [!NOTE]
|
|
@@ -748,6 +765,16 @@ map:
|
|
|
748
765
|
Welcome to our conference venue!
|
|
749
766
|
```
|
|
750
767
|
|
|
768
|
+
The map follows the page's content. To place it within, add the marker `<!-- map -->` on a line of its own: content above it comes before the map, content below it after.
|
|
769
|
+
|
|
770
|
+
```markdown
|
|
771
|
+
How to get here by train.
|
|
772
|
+
|
|
773
|
+
<!-- map -->
|
|
774
|
+
|
|
775
|
+
## Room Plan
|
|
776
|
+
```
|
|
777
|
+
|
|
751
778
|
The map is based on the [Leaflet](https://leafletjs.com/) JavaScript library. To add markers, text, or shapes, name a script in `map.script`, relative to `assets/js/` (e.g. `script: maps/venue.js` for `assets/js/maps/venue.js`). Once the visitor loaded the map, the theme calls the script's default export with the map object (Leaflet is available as `L`):
|
|
752
779
|
|
|
753
780
|
```javascript
|
|
@@ -868,7 +895,7 @@ layout: htaccess
|
|
|
868
895
|
---
|
|
869
896
|
```
|
|
870
897
|
|
|
871
|
-
It forwards every address that doesn't exist on its own but does exist in the current edition, e.g. `/program/` to `/2026/program/`, and adapts by itself once the current edition changes. With a page for missing addresses (`404.md`, see [_Pages_](#pages)), Apache shows it for addresses that exist nowhere. Below the Front Matter, you can add your own rules. It assumes the site lies at `baseurl` below the web server's document root. Other hosts (e.g. GitHub Pages) ignore the file and need their own redirects.
|
|
898
|
+
It forwards the root (`/` and `/index.html`) to the current edition, as well as every address that doesn't exist on its own but does exist in the current edition, e.g. `/program/` to `/2026/program/`, and adapts by itself once the current edition changes. With a page for missing addresses (`404.md`, see [_Pages_](#pages)), Apache shows it for addresses that exist nowhere. Below the Front Matter, you can add your own rules. It assumes the site lies at `baseurl` below the web server's document root. Other hosts (e.g. GitHub Pages) ignore the file and need their own redirects.
|
|
872
899
|
|
|
873
900
|
#### Setup
|
|
874
901
|
|
|
@@ -917,7 +944,7 @@ Each room consists of
|
|
|
917
944
|
- the room's `name` (must correspond to one of the room identifiers), and
|
|
918
945
|
- a list of talks (`talks`) which also can be empty `[]`.
|
|
919
946
|
|
|
920
|
-
|
|
947
|
+
Rooms with `order` come first, sorted by it (see [_Rooms_](#rooms)). The others follow: on the program page in the order of the day's list, elsewhere (e.g. live streams or the room links on the location page) as they first appear in the program.
|
|
921
948
|
|
|
922
949
|
Each talk consists of
|
|
923
950
|
|
|
@@ -1010,7 +1037,7 @@ Each room is represented by a file in the `_rooms/` directory. It must begin wit
|
|
|
1010
1037
|
|
|
1011
1038
|
- the room's `name`
|
|
1012
1039
|
- optionally, `hide: true` if the room's page should not be linked to,
|
|
1013
|
-
- optionally, its position (`order`, a number)
|
|
1040
|
+
- optionally, its position (`order`, a number) wherever rooms are listed, including the program; rooms without it follow those with it, as they appear in the program, and
|
|
1014
1041
|
- optionally under the `live` property, a URL pointing to a live stream for the given room during the conference (see the section [_Configuration_](#configuration) > [_Live Indications & Streaming_](#live-indications--streaming) above), either:
|
|
1015
1042
|
- as an `absolute_url`, or
|
|
1016
1043
|
- a `relative_url`.
|
|
@@ -1066,8 +1093,42 @@ Additionally, a _navigation bar_, _main landing page_, _info bar_ or _info modal
|
|
|
1066
1093
|
- The link is only shown if `name` is set. If `name` is an empty string, "Live stream" is shown instead.
|
|
1067
1094
|
- If `name_inactive` is set, its value is used as a placeholder text while the conference is **not** live. If `name_inactive` is an empty string, "Live stream" is shown instead.
|
|
1068
1095
|
- If streaming is enabled and any URL property is omitted, a click on the link will open the streaming modal, in the installed app the live page if there is one (see section [_Configuration_](#configuration) > [_Live Indications & Streaming_](#live-indications--streaming) above).
|
|
1069
|
-
- `menu` containing another list of links. This creates a dropdown menu of multiple sublinks, while the URL of the parent link is ignored. The sublinks have the same properties as regular links
|
|
1096
|
+
- `menu` containing another list of links. This creates a dropdown menu of multiple sublinks, while the URL of the parent link is ignored. The sublinks have the same properties as regular links, except `visibility`.
|
|
1070
1097
|
- With `menu: editions`, the dropdown menu lists the [editions](#editions) instead. Without `name`, it is labelled with `navigation.editions.name`, else the page's edition. It is not shown with a single edition.
|
|
1098
|
+
- `visibility` hiding the link in some places, see [_Visibility_](#visibility).
|
|
1099
|
+
|
|
1100
|
+
### Visibility
|
|
1101
|
+
|
|
1102
|
+
The visibility of the following items can be modified:
|
|
1103
|
+
|
|
1104
|
+
- links in the navigation bar and on the main landing page (see [_Links_](#links)),
|
|
1105
|
+
- information bars (see [_Information Bars & Modals_](#information-bars--modals)), and
|
|
1106
|
+
- information modals (see [_Information Bars & Modals_](#information-bars--modals)).
|
|
1107
|
+
|
|
1108
|
+
These items are shown by default everywhere unless their `visibility` property hides them. It can contain:
|
|
1109
|
+
|
|
1110
|
+
- `pwa: false` to hide it in the installed app (see [_Progressive Web App (PWA)_](#progressive-web-app-pwa)),
|
|
1111
|
+
- `web: false` to hide it on the website, outside the installed app, and
|
|
1112
|
+
- `main: false` to hide it on the main landing page (only info bars and modals).
|
|
1113
|
+
|
|
1114
|
+
To show an info bar or modal on a single page only, add it to that page's Front Matter instead (see [_Information Bars & Modals_](#information-bars--modals)).
|
|
1115
|
+
|
|
1116
|
+
```yaml
|
|
1117
|
+
conference:
|
|
1118
|
+
navigation:
|
|
1119
|
+
links:
|
|
1120
|
+
- name: Feedback
|
|
1121
|
+
relative_url: /feedback/
|
|
1122
|
+
visibility:
|
|
1123
|
+
web: false # only in the app
|
|
1124
|
+
info:
|
|
1125
|
+
bars:
|
|
1126
|
+
- title: Get the App
|
|
1127
|
+
text: Install this site as an app.
|
|
1128
|
+
visibility:
|
|
1129
|
+
pwa: false # not in the app
|
|
1130
|
+
main: false # not on the main landing page
|
|
1131
|
+
```
|
|
1071
1132
|
|
|
1072
1133
|
### Pages
|
|
1073
1134
|
|
data/UPGRADE_GUIDE.md
CHANGED
|
@@ -23,9 +23,18 @@ With `show_errors`, the theme now also reports leftovers of v3: icons that are n
|
|
|
23
23
|
**Action:**
|
|
24
24
|
- Fix the reported leftovers, see [Icons](#icons) and [Map & Location Configuration](#map--location-configuration).
|
|
25
25
|
|
|
26
|
+
### Visibility
|
|
27
|
+
|
|
28
|
+
Links, info bars and info modals are hidden per context with `visibility` (see [Visibility](README.md#visibility)): `pwa: false` in the app, `web: false` outside of it (new), `main: false` on the main landing page. Bars and modals for a single page go into its Front Matter (`info.bars`, `info.modals`). With `show_errors`, the theme reports the old properties.
|
|
29
|
+
|
|
30
|
+
**Action:**
|
|
31
|
+
- Replace `pwa_hide: true` by `visibility: {pwa: false}`.
|
|
32
|
+
- Replace `pages_only: true` by `visibility: {main: false}`.
|
|
33
|
+
- Move bars and modals with `main_only: true` from `_config.yml` to the Front Matter of your home file (with `layout: home`), e.g. `info: {bars: [...]}`, and remove `main_only`.
|
|
34
|
+
|
|
26
35
|
### Room Order
|
|
27
36
|
|
|
28
|
-
Rooms without `order` are listed as they first appear in the program instead of alphabetically. Rooms with `order` are sorted by it without `sort_by: order` in `_config.yml
|
|
37
|
+
Rooms without `order` are listed as they first appear in the program instead of alphabetically. Rooms with `order` are sorted by it without `sort_by: order` in `_config.yml`, also in the program's columns.
|
|
29
38
|
|
|
30
39
|
**Action:**
|
|
31
40
|
- None, unless you relied on the alphabetical order: then set `order`.
|
data/_data/conference_assets.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Generated by `npm run build`: content hashes of the bundles
|
|
2
|
-
css/conference-only.bundle.css: "
|
|
3
|
-
css/conference.bundle.css: "
|
|
2
|
+
css/conference-only.bundle.css: "7b07fd4d03"
|
|
3
|
+
css/conference.bundle.css: "407337ce19"
|
|
4
4
|
css/map.bundle.css: "3104fafcdf"
|
|
5
|
-
js/conference.bundle.js: "
|
|
5
|
+
js/conference.bundle.js: "77439f1f3c"
|
data/_data/lang.yml
CHANGED
|
@@ -15,6 +15,8 @@ en:
|
|
|
15
15
|
title: "Page not found"
|
|
16
16
|
text: "This page does not exist (anymore)."
|
|
17
17
|
home: "Go to the home page"
|
|
18
|
+
offline_title: "Not available offline"
|
|
19
|
+
offline_text: "This page has not been stored on this device. Open it again once you are online."
|
|
18
20
|
navigation:
|
|
19
21
|
main: Main navigation
|
|
20
22
|
toggle: Toggle navigation menu
|
|
@@ -100,6 +102,8 @@ de:
|
|
|
100
102
|
title: "Seite nicht gefunden"
|
|
101
103
|
text: "Diese Seite gibt es nicht (mehr)."
|
|
102
104
|
home: "Zur Startseite"
|
|
105
|
+
offline_title: "Offline nicht verfügbar"
|
|
106
|
+
offline_text: "Diese Seite ist auf diesem Gerät nicht gespeichert. Öffnen Sie sie wieder, sobald Sie online sind."
|
|
103
107
|
navigation:
|
|
104
108
|
main: Hauptnavigation
|
|
105
109
|
toggle: Navigationsmenü umschalten
|
|
@@ -185,6 +189,8 @@ fr:
|
|
|
185
189
|
title: "Page introuvable"
|
|
186
190
|
text: "Cette page n'existe pas (ou plus)."
|
|
187
191
|
home: "Aller à la page d'accueil"
|
|
192
|
+
offline_title: "Non disponible hors ligne"
|
|
193
|
+
offline_text: "Cette page n'est pas enregistrée sur cet appareil. Ouvrez-la à nouveau une fois en ligne."
|
|
188
194
|
navigation:
|
|
189
195
|
main: Navigation principale
|
|
190
196
|
toggle: Basculer le menu de navigation
|
|
@@ -270,6 +276,8 @@ pt:
|
|
|
270
276
|
title: "Página não encontrada"
|
|
271
277
|
text: "Esta página não existe (mais)."
|
|
272
278
|
home: "Ir para a página inicial"
|
|
279
|
+
offline_title: "Indisponível offline"
|
|
280
|
+
offline_text: "Esta página não está guardada neste dispositivo. Abra-a novamente quando estiver online."
|
|
273
281
|
navigation:
|
|
274
282
|
main: Navegação principal
|
|
275
283
|
toggle: Alternar menu de navegação
|
data/_includes/checks.html
CHANGED
|
@@ -79,15 +79,16 @@ For more details, refer to the [Tracks & Tags](https://github.com/DigitaleGesell
|
|
|
79
79
|
e.g. Font Awesome's file-alt (icon.html renders nothing for them)
|
|
80
80
|
{%- endcomment -%}
|
|
81
81
|
{%- capture icon_names -%}{%- include icons/_names.txt -%}{%- endcapture -%}
|
|
82
|
-
{%- assign
|
|
83
|
-
{%- if edition_tags -%}
|
|
84
|
-
{%- assign checked_icons = checked_icons | concat: edition_tags -%}
|
|
85
|
-
{%- endif -%}
|
|
82
|
+
{%- assign checked_links = "" | split: "" -%}
|
|
86
83
|
{%- if edition_nav_links -%}
|
|
87
|
-
{%- assign
|
|
84
|
+
{%- assign checked_links = checked_links | concat: edition_nav_links -%}
|
|
88
85
|
{%- endif -%}
|
|
89
86
|
{%- if page.links -%}
|
|
90
|
-
{%- assign
|
|
87
|
+
{%- assign checked_links = checked_links | concat: page.links -%}
|
|
88
|
+
{%- endif -%}
|
|
89
|
+
{%- assign checked_icons = checked_links -%}
|
|
90
|
+
{%- if edition_tags -%}
|
|
91
|
+
{%- assign checked_icons = checked_icons | concat: edition_tags -%}
|
|
91
92
|
{%- endif -%}
|
|
92
93
|
{%- assign checked_icons = checked_icons | map: "icon" | compact | uniq -%}
|
|
93
94
|
{%- for icon in checked_icons -%}
|
|
@@ -124,6 +125,34 @@ For more details, refer to the [Tracks & Tags](https://github.com/DigitaleGesell
|
|
|
124
125
|
{%- assign errors = errors | push: "Your `_config.yml` file contains an outdated property name. Please rename `conference.pwa.install_banner` to `conference.pwa.install_toast`." -%}
|
|
125
126
|
{%- endif -%}
|
|
126
127
|
|
|
128
|
+
{%- comment -%} Visibility keys replaced by `visibility` (5.5), in the config and this page's Front Matter (links as checked for icons) {%- endcomment -%}
|
|
129
|
+
{%- assign outdated_pwa_hide = checked_links | map: "pwa_hide" | compact -%}
|
|
130
|
+
{%- if outdated_pwa_hide.size > 0 -%}
|
|
131
|
+
{%- assign errors = errors | push: "Your configuration contains an outdated property name. Please replace `pwa_hide: true` of links by `visibility: {pwa: false}`. For more details, refer to the [Visibility](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/#visibility) section in the theme's README." -%}
|
|
132
|
+
{%- endif -%}
|
|
133
|
+
|
|
134
|
+
{%- assign checked_infos = "" | split: "" -%}
|
|
135
|
+
{%- if edition_info_bars -%}
|
|
136
|
+
{%- assign checked_infos = checked_infos | concat: edition_info_bars -%}
|
|
137
|
+
{%- endif -%}
|
|
138
|
+
{%- if edition_info_modals -%}
|
|
139
|
+
{%- assign checked_infos = checked_infos | concat: edition_info_modals -%}
|
|
140
|
+
{%- endif -%}
|
|
141
|
+
{%- if page.info.bars -%}
|
|
142
|
+
{%- assign checked_infos = checked_infos | concat: page.info.bars -%}
|
|
143
|
+
{%- endif -%}
|
|
144
|
+
{%- if page.info.modals -%}
|
|
145
|
+
{%- assign checked_infos = checked_infos | concat: page.info.modals -%}
|
|
146
|
+
{%- endif -%}
|
|
147
|
+
{%- assign outdated_main_only = checked_infos | map: "main_only" | compact -%}
|
|
148
|
+
{%- if outdated_main_only.size > 0 -%}
|
|
149
|
+
{%- assign errors = errors | push: "Your configuration contains an outdated property name. `main_only` of info bars and modals is no longer supported: move them to the Front Matter of your home file (with `layout: home`) under `info.bars` or `info.modals`. For more details, refer to the [Information Bars & Modals](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/#information-bars--modals) section in the theme's README." -%}
|
|
150
|
+
{%- endif -%}
|
|
151
|
+
{%- assign outdated_pages_only = checked_infos | map: "pages_only" | compact -%}
|
|
152
|
+
{%- if outdated_pages_only.size > 0 -%}
|
|
153
|
+
{%- assign errors = errors | push: "Your configuration contains an outdated property name. Please replace `pages_only: true` of info bars and modals by `visibility: {main: false}`. For more details, refer to the [Visibility](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/#visibility) section in the theme's README." -%}
|
|
154
|
+
{%- endif -%}
|
|
155
|
+
|
|
127
156
|
{%- assign program_file = "_data/program.yml" -%}
|
|
128
157
|
{%- assign edition_dir = "" -%}
|
|
129
158
|
{%- if edition -%}
|
|
@@ -155,9 +184,44 @@ For more details, refer to the [Tracks & Tags](https://github.com/DigitaleGesell
|
|
|
155
184
|
{%- assign error_msg = "The room with the `name` _" | append: room.name | append: "_ occurs more than once but should be unique." -%}
|
|
156
185
|
{%- assign errors = errors | push: error_msg -%}
|
|
157
186
|
{%- endif -%}
|
|
187
|
+
|
|
188
|
+
{%- comment -%} A number, e.g. `order: 2`, not `order: "2"` (JSON: a string is quoted) {%- endcomment -%}
|
|
189
|
+
{%- assign room_order_json = room.order | jsonify -%}
|
|
190
|
+
{%- if room_order_json contains '"' -%}
|
|
191
|
+
{%- assign error_msg = "The `order` of the room _" | append: room.name | append: "_ should be a number, e.g. `order: 2` instead of `order: \"2\"`." -%}
|
|
192
|
+
{%- assign errors = errors | push: error_msg -%}
|
|
193
|
+
{%- endif -%}
|
|
158
194
|
{%- endfor -%}
|
|
159
195
|
{%- endif -%}
|
|
160
196
|
|
|
197
|
+
{%- comment -%} Rooms and talks of the schedule (e.g. misspelled) without an entry in their collection {%- endcomment -%}
|
|
198
|
+
{%- assign unknown_rooms = "" | split: "" -%}
|
|
199
|
+
{%- assign unknown_talks = "" | split: "" -%}
|
|
200
|
+
{%- for program_day in edition_program.days -%}
|
|
201
|
+
{%- for program_room in program_day.rooms -%}
|
|
202
|
+
{%- assign known_room = edition_rooms | where: "name", program_room.name | first -%}
|
|
203
|
+
{%- unless known_room -%}
|
|
204
|
+
{%- assign unknown_rooms = unknown_rooms | push: program_room.name -%}
|
|
205
|
+
{%- endunless -%}
|
|
206
|
+
{%- for program_talk in program_room.talks -%}
|
|
207
|
+
{%- assign known_talk = edition_talks | where: "name", program_talk.name | first -%}
|
|
208
|
+
{%- unless known_talk -%}
|
|
209
|
+
{%- assign unknown_talks = unknown_talks | push: program_talk.name -%}
|
|
210
|
+
{%- endunless -%}
|
|
211
|
+
{%- endfor -%}
|
|
212
|
+
{%- endfor -%}
|
|
213
|
+
{%- endfor -%}
|
|
214
|
+
{%- assign unknown_rooms = unknown_rooms | uniq -%}
|
|
215
|
+
{%- for unknown_name in unknown_rooms -%}
|
|
216
|
+
{%- assign error_msg = "The room _" | append: unknown_name | append: "_ in your schedule `" | append: program_file | append: "` has no entry in the `rooms` collection. Check its `name` in both." -%}
|
|
217
|
+
{%- assign errors = errors | push: error_msg -%}
|
|
218
|
+
{%- endfor -%}
|
|
219
|
+
{%- assign unknown_talks = unknown_talks | uniq -%}
|
|
220
|
+
{%- for unknown_name in unknown_talks -%}
|
|
221
|
+
{%- assign error_msg = "The talk _" | append: unknown_name | append: "_ in your schedule `" | append: program_file | append: "` has no entry in the `talks` collection. Check its `name` in both." -%}
|
|
222
|
+
{%- assign errors = errors | push: error_msg -%}
|
|
223
|
+
{%- endfor -%}
|
|
224
|
+
|
|
161
225
|
{%- assign nbr_speakers = edition_speakers | size -%}
|
|
162
226
|
{%- if nbr_speakers == 0 -%}
|
|
163
227
|
{%- assign error_msg = "The `speakers` collection does not seem to contain any entry. Have you accidentally renamed the collection or is your `_speakers/" | append: edition_dir | append: "` folder empty?" -%}
|
|
@@ -10,10 +10,15 @@
|
|
|
10
10
|
|
|
11
11
|
{%- include get_location_config.html -%}
|
|
12
12
|
{%- if location_map %}
|
|
13
|
+
{%- comment -%}
|
|
14
|
+
Numbers as numbers, also from a YAML list (e.g. [47.37, 8.54]) or a
|
|
15
|
+
quoted value: a malformed value must not break the JSON (all modules)
|
|
16
|
+
{%- endcomment -%}
|
|
17
|
+
{%- assign home_coord = location_map.home_coord | default: '47.3744489, 8.5410422' | join: "," | split: "," -%}
|
|
13
18
|
"map": {
|
|
14
19
|
"map_provider": {{ location_map.map_provider | default: 'OpenStreetMap.Mapnik' | jsonify }},
|
|
15
|
-
"home_coord": [{{
|
|
16
|
-
"default_zoom": {{ location_map.default_zoom | default: 17 }}
|
|
20
|
+
"home_coord": [{{ home_coord[0] | strip | plus: 0 | jsonify }}, {{ home_coord[1] | strip | plus: 0 | jsonify }}],
|
|
21
|
+
"default_zoom": {{ location_map.default_zoom | default: 17 | plus: 0 | jsonify }}
|
|
17
22
|
{%- if location_map.script %},
|
|
18
23
|
"script": {{ location_map.script | prepend: '/assets/js/' | prepend: site.baseurl | jsonify }}
|
|
19
24
|
{%- endif %}
|
|
@@ -41,15 +46,15 @@
|
|
|
41
46
|
|
|
42
47
|
{% if edition_live.streaming.enable -%}
|
|
43
48
|
"stream": {
|
|
44
|
-
"pause": {{ edition_live.streaming.pause | default: 60 }},
|
|
45
|
-
"prepend": {{ edition_live.streaming.prepend | default: 5 }},
|
|
46
|
-
"extend": {{ edition_live.streaming.extend | default: 5 }}
|
|
49
|
+
"pause": {{ edition_live.streaming.pause | default: 60 | plus: 0 | jsonify }},
|
|
50
|
+
"prepend": {{ edition_live.streaming.prepend | default: 5 | plus: 0 | jsonify }},
|
|
51
|
+
"extend": {{ edition_live.streaming.extend | default: 5 | plus: 0 | jsonify }}
|
|
47
52
|
},
|
|
48
53
|
{%- endif %}
|
|
49
54
|
|
|
50
55
|
{% if site.conference.pwa -%}
|
|
51
56
|
"pwa": {
|
|
52
|
-
"enable": {{ site.conference.pwa.enable | default: false }}
|
|
57
|
+
"enable": {{ site.conference.pwa.enable | default: false | jsonify }}
|
|
53
58
|
},
|
|
54
59
|
{%- endif %}
|
|
55
60
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{%- comment -%}
|
|
2
|
+
Rooms of day `d` (its program entries, with their talks): those with
|
|
3
|
+
`order` as in `edition_rooms` (see get_edition.html), then the others as
|
|
4
|
+
the day lists them. Sets day_rooms.
|
|
5
|
+
{%- endcomment -%}
|
|
6
|
+
{%- assign day_rooms = "" | split: "" -%}
|
|
7
|
+
{%- for day_room in edition_rooms -%}
|
|
8
|
+
{%- if day_room.order == nil -%}
|
|
9
|
+
{%- break -%}
|
|
10
|
+
{%- endif -%}
|
|
11
|
+
{%- assign day_entry = d.rooms | where: "name", day_room.name | first -%}
|
|
12
|
+
{%- if day_entry -%}
|
|
13
|
+
{%- assign day_rooms = day_rooms | push: day_entry -%}
|
|
14
|
+
{%- endif -%}
|
|
15
|
+
{%- endfor -%}
|
|
16
|
+
|
|
17
|
+
{%- comment -%} Rooms without `order` (or without a room page) {%- endcomment -%}
|
|
18
|
+
{%- for day_entry in d.rooms -%}
|
|
19
|
+
{%- assign day_room = edition_rooms | where: "name", day_entry.name | first -%}
|
|
20
|
+
{%- if day_room.order == nil -%}
|
|
21
|
+
{%- assign day_rooms = day_rooms | push: day_entry -%}
|
|
22
|
+
{%- endif -%}
|
|
23
|
+
{%- endfor -%}
|
data/_includes/get_edition.html
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
- edition_base: URL prefix of the edition's pages, e.g. "/2025" (or "")
|
|
10
10
|
- edition_documents: folder of linked files, e.g. "/2025/documents"
|
|
11
11
|
- edition_talks, edition_speakers, edition_program
|
|
12
|
-
- edition_rooms: by `order`,
|
|
12
|
+
- edition_rooms: by `order`, rooms without it after them as they first
|
|
13
|
+
appear in the program
|
|
13
14
|
- edition_title, edition_description and per sub-setting (e.g.
|
|
14
15
|
`navigation.logo`): edition_link_preview, edition_schema_org,
|
|
15
16
|
edition_nav_logo, edition_nav_links, edition_nav_breakpoint,
|
|
@@ -49,24 +50,49 @@
|
|
|
49
50
|
{%- assign edition_documents = edition_base | append: "/documents" -%}
|
|
50
51
|
|
|
51
52
|
{%- comment -%}
|
|
52
|
-
Rooms
|
|
53
|
-
|
|
53
|
+
Rooms as they first appear in the program (e.g. the program's room
|
|
54
|
+
columns), followed by rooms not in it
|
|
54
55
|
{%- endcomment -%}
|
|
55
|
-
{%- assign
|
|
56
|
-
{%-
|
|
57
|
-
{%-
|
|
58
|
-
{%-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
{%-
|
|
62
|
-
{%- assign room = edition_rooms | where: "name", r.name | first -%}
|
|
63
|
-
{%- if room -%}
|
|
64
|
-
{%- assign rooms_by_program = rooms_by_program | push: room -%}
|
|
65
|
-
{%- endif -%}
|
|
66
|
-
{%- endfor -%}
|
|
56
|
+
{%- assign rooms_by_program = "" | split: "" -%}
|
|
57
|
+
{%- for d in edition_program.days -%}
|
|
58
|
+
{%- for r in d.rooms -%}
|
|
59
|
+
{%- assign room = edition_rooms | where: "name", r.name | first -%}
|
|
60
|
+
{%- if room -%}
|
|
61
|
+
{%- assign rooms_by_program = rooms_by_program | push: room -%}
|
|
62
|
+
{%- endif -%}
|
|
67
63
|
{%- endfor -%}
|
|
68
|
-
|
|
69
|
-
{%-
|
|
64
|
+
{%- endfor -%}
|
|
65
|
+
{%- assign rooms_by_program = rooms_by_program | concat: edition_rooms | uniq -%}
|
|
66
|
+
|
|
67
|
+
{%- comment -%}
|
|
68
|
+
Then by `order`, rooms without it last, e.g. [C (no order), A (2), B (1)]
|
|
69
|
+
-> [B, A, C]. Picked per order, which keeps the program's order among
|
|
70
|
+
equal orders (`sort` is not stable). As numbers: a string (e.g. "2")
|
|
71
|
+
would fail `sort` (see checks.html)
|
|
72
|
+
{%- endcomment -%}
|
|
73
|
+
{%- assign room_orders = "" | split: "" -%}
|
|
74
|
+
{%- for r in rooms_by_program -%}
|
|
75
|
+
{%- unless r.order == nil -%}
|
|
76
|
+
{%- assign room_order = r.order | plus: 0 -%}
|
|
77
|
+
{%- assign room_orders = room_orders | push: room_order -%}
|
|
78
|
+
{%- endunless -%}
|
|
79
|
+
{%- endfor -%}
|
|
80
|
+
{%- assign room_orders = room_orders | uniq | sort -%}
|
|
81
|
+
|
|
82
|
+
{%- assign edition_rooms = "" | split: "" -%}
|
|
83
|
+
{%- for o in room_orders -%}
|
|
84
|
+
{%- for r in rooms_by_program -%}
|
|
85
|
+
{%- if r.order == nil -%}
|
|
86
|
+
{%- continue -%}
|
|
87
|
+
{%- endif -%}
|
|
88
|
+
{%- assign room_order = r.order | plus: 0 -%}
|
|
89
|
+
{%- if room_order == o -%}
|
|
90
|
+
{%- assign edition_rooms = edition_rooms | push: r -%}
|
|
91
|
+
{%- endif -%}
|
|
92
|
+
{%- endfor -%}
|
|
93
|
+
{%- endfor -%}
|
|
94
|
+
{%- assign rooms_without_order = rooms_by_program | where_exp: "r", "r.order == nil" -%}
|
|
95
|
+
{%- assign edition_rooms = edition_rooms | concat: rooms_without_order | uniq -%}
|
|
70
96
|
|
|
71
97
|
{%- assign edition_title = edition_config.title | default: site.title -%}
|
|
72
98
|
{%- assign edition_description = edition_config.description | default: site.description -%}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<a
|
|
5
5
|
class="{{ include.class }}"
|
|
6
6
|
href="{{ edition_live.streaming.external }}"
|
|
7
|
-
title="{{ stream_label }}"
|
|
7
|
+
title="{{ stream_label | escape }}"
|
|
8
8
|
>
|
|
9
9
|
{%- else -%}
|
|
10
10
|
{%- if r -%}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<a
|
|
29
29
|
class="{{ include.class }}{% if include.is_active %} active{% endif %}"
|
|
30
30
|
href="{{ stream_href | escape }}"
|
|
31
|
-
title="{{ stream_label }}"
|
|
31
|
+
title="{{ stream_label | escape }}"
|
|
32
32
|
{%- if include.is_active %}
|
|
33
33
|
aria-current="page"
|
|
34
34
|
{%- endif %}
|
|
@@ -20,12 +20,16 @@
|
|
|
20
20
|
{%- include get_talk_timestamp.html -%}
|
|
21
21
|
|
|
22
22
|
{%- assign last_pause = timestamp_start | minus: last_end -%}
|
|
23
|
+
{%- assign starts_block = false -%}
|
|
24
|
+
{%- if forloop.index0 == 0 or last_pause >= min_pause -%}
|
|
25
|
+
{%- assign starts_block = true -%}
|
|
26
|
+
{%- endif -%}
|
|
23
27
|
|
|
24
|
-
{%-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
{%- comment -%}
|
|
29
|
+
A long pause ends the previous block, before the talk starts a new
|
|
30
|
+
one (also the room's last talk): one end per start, in order
|
|
31
|
+
{%- endcomment -%}
|
|
32
|
+
{%- if starts_block and forloop.index0 > 0 -%}
|
|
29
33
|
{%- assign live_end = offset_end | times: 60 | plus: last_end %}
|
|
30
34
|
{%- if live_ends == "" -%}
|
|
31
35
|
{%- assign live_ends = live_end -%}
|
|
@@ -34,7 +38,7 @@
|
|
|
34
38
|
{%- endif -%}
|
|
35
39
|
{%- endif -%}
|
|
36
40
|
|
|
37
|
-
{%- if
|
|
41
|
+
{%- if starts_block -%}
|
|
38
42
|
{%- assign live_start = offset_start | times: -60 | plus: timestamp_start -%}
|
|
39
43
|
{%- if live_starts == "" -%}
|
|
40
44
|
{%- assign live_starts = live_start -%}
|
|
@@ -43,6 +47,15 @@
|
|
|
43
47
|
{%- endif -%}
|
|
44
48
|
{%- endif -%}
|
|
45
49
|
|
|
50
|
+
{%- if forloop.last -%}
|
|
51
|
+
{%- assign live_end = offset_end | times: 60 | plus: timestamp_end %}
|
|
52
|
+
{%- if live_ends == "" -%}
|
|
53
|
+
{%- assign live_ends = live_end -%}
|
|
54
|
+
{%- else -%}
|
|
55
|
+
{%- assign live_ends = live_ends | append: "," | append: live_end -%}
|
|
56
|
+
{%- endif -%}
|
|
57
|
+
{%- endif -%}
|
|
58
|
+
|
|
46
59
|
{%- assign last_end = timestamp_end -%}
|
|
47
60
|
{%- endfor -%}
|
|
48
61
|
{%- endfor -%}
|