jekyll-theme-conference 5.1.0 → 5.2.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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +83 -14
  3. data/_data/conference_assets.yml +4 -4
  4. data/_data/lang.yml +53 -1
  5. data/_includes/checks.html +1 -1
  6. data/_includes/embed_consent.html +1 -1
  7. data/_includes/footer.html +1 -0
  8. data/_includes/get_day_time.html +11 -2
  9. data/_includes/get_link.html +1 -1
  10. data/_includes/get_link_active.html +17 -0
  11. data/_includes/get_talk_overview_talk.html +3 -3
  12. data/_includes/get_track_properties.html +2 -0
  13. data/_includes/header.html +1 -0
  14. data/_includes/infobox.html +19 -4
  15. data/_includes/list_speakers.html +2 -2
  16. data/_includes/list_tags.html +1 -1
  17. data/_includes/modal_link.html +2 -2
  18. data/_includes/modal_live.html +2 -2
  19. data/_includes/navbar.html +1 -9
  20. data/_includes/navbar_pwa.html +1 -9
  21. data/_includes/navbar_rooms.html +3 -3
  22. data/_includes/pwa_banner.html +29 -0
  23. data/_includes/pwa_install.html +26 -0
  24. data/_includes/show_link_buttons.html +53 -0
  25. data/_includes/show_room.html +2 -2
  26. data/_includes/show_talk.html +2 -2
  27. data/_includes/show_talk_duration.html +2 -2
  28. data/_includes/show_talk_listed.html +2 -2
  29. data/_includes/show_talk_time.html +2 -2
  30. data/_layouts/home.html +2 -47
  31. data/_layouts/location.html +3 -3
  32. data/_layouts/program.html +21 -5
  33. data/_layouts/room.html +5 -11
  34. data/_layouts/speaker-overview.html +1 -1
  35. data/_layouts/speaker.html +8 -8
  36. data/_layouts/stream-overview.html +1 -1
  37. data/_layouts/talk-overview.html +4 -4
  38. data/_layouts/talk.html +12 -12
  39. data/_sass/bootstrap.scss +1 -0
  40. data/_sass/theme.scss +248 -3
  41. data/assets/css/conference-only.bundle.css +1 -1
  42. data/assets/css/conference.bundle.css +1 -1
  43. data/assets/css/map.bundle.css +1 -1
  44. data/assets/js/conference.bundle.js +2 -2
  45. metadata +5 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5353ee32af4f6ced22ff385c1b11fde3890565bb91a5b4f153f3c132e481787
4
- data.tar.gz: 3ae2ef5964c7acd100117d99deb52a0ed0eab47e43ca56e56e87130e839f5bdc
3
+ metadata.gz: 4d3cea0a1eceaa2191779f067821a31fc4e7ea81e741fffed6fd52c87b5f9e74
4
+ data.tar.gz: 1306c10b3e6d35e2463c140c21c8750e35aa36c6db14780c49ee8aa3a6d77056
5
5
  SHA512:
6
- metadata.gz: b6823ef3ca588de7151db744ef2476a588b742be1ae39d19f1701912a331eb29ce888eece6c6914fa97174a4d1fc0be00f9d80cceeabf8832234f0116091a180
7
- data.tar.gz: 2f9663c8b996f3718c08cb4c3621d507e4891b6925da20d53c747f6fb3c5b19b22c55817f596896874db769d3782e00cf7723f0ed33e832d640a8441827bf185
6
+ metadata.gz: 62b40d9701f51e1cfbd747a80851820f27627635d6c42435354055a047d2307c8dcffcc02716b6dc63e96f6d76e9178e5c8de2006ebe7dbaf6a6c7e608603abc
7
+ data.tar.gz: 4d5b0671ac5db19c78f6bf0003886402fbc41ee3cc07ffc969f9807d4ad0536522e172bf683e491b0c87fe64ad5792e01c7b16640810c3aada5ba7051b1427f8
data/README.md CHANGED
@@ -57,6 +57,7 @@ The theme was created for the yearly Winterkongress conference of the [Digital S
57
57
  - [Pre-compiled Bundle (Default)](#pre-compiled-bundle-default)
58
58
  - [Split Bundle (Custom Bootstrap CSS)](#split-bundle-custom-bootstrap-css)
59
59
  - [Full Custom Build (Custom SCSS)](#full-custom-build-custom-scss)
60
+ - [Styling Hooks](#styling-hooks)
60
61
  - [Icons](#icons)
61
62
  - [Custom JavaScript](#custom-javascript)
62
63
  - [Development](#development)
@@ -130,15 +131,15 @@ To install:
130
131
  bundle
131
132
  ```
132
133
 
133
- 4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.1.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
134
+ 4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.2.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
134
135
 
135
136
  ```yaml
136
- remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.1.0"
137
+ remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.2.0"
137
138
  ```
138
139
 
139
140
  5. Continue with the [_Setup_](#setup) section below to customize the theme and add content for your conference.
140
141
 
141
- To update the theme, change the version tag in the `remote_theme` value (e.g., `@v5.0.0` to `@v5.1.0`).
142
+ To update the theme, change the version tag in the `remote_theme` value (e.g., `@v5.1.0` to `@v5.2.0`).
142
143
 
143
144
 
144
145
  ## Setup
@@ -165,6 +166,19 @@ In this repository, you'll find the Python file `_tools/import_schedule.py`. Thi
165
166
 
166
167
  With several [editions](#editions), pass the edition's id, e.g. `--edition 2026`: the script then writes to `_talks/2026/`, …, `_data/programs/2026.yml` and creates the edition's overview pages.
167
168
 
169
+ 3. Optionally, keep own properties across imports, as the script rewrites all rooms, speakers and talks: list them in a YAML file and pass it with `--overrides`, e.g. `--overrides _tools/overrides.yml`. They are merged into the imported entries of the same `name` and replace imported values (e.g. `hide`). Unknown names are reported and skipped.
170
+
171
+ ```yaml
172
+ rooms:
173
+ - name: Main Hall
174
+ order: 1
175
+ live:
176
+ absolute_url: https://example.com/stream/main-hall
177
+ talks:
178
+ - name: Opening
179
+ tags: [Keynote]
180
+ ```
181
+
168
182
  Likewise, `_tools/import_resources.py` imports resources such as slides and other documents from [pretalx.com](https://pretalx.com/p/about/) via its API. It downloads all files, stores them and updates the links of the talks concerned (see [_Links_](#links)). Run it the same way, e.g., `uv run --no-project --with-requirements _tools/requirements.txt python _tools/import_resources.py --help`. With several [editions](#editions), pass the edition's folders, e.g. `--file-folder 2026/documents/slides/ --talk-folder _talks/2026/`.
169
183
 
170
184
  ### Automatic Build
@@ -173,7 +187,7 @@ If you prefer not to install the full Ruby/Jekyll toolchain locally, you can lev
173
187
 
174
188
  - `build.yml`: This workflow automatically builds and optimizes the website whenever a new tag starting with `v` (e.g., `v2020.01.01`) is added. It then attaches the generated website as an archive to a release for easy download.
175
189
  - `test.yml`: This workflow automatically attempts to build the website upon a new pull request, making it suitable for use as a status check before merging.
176
- - `schedule.yml`: This workflow automatically generates schedule and content files when a new pull request includes a `schedule.json` file (see [_Import from pretalx_](#import-from-pretalx)). This enables quick content updates from [pretalx.com](https://pretalx.com/p/about/) exports. With several [editions](#editions), set its `EDITION` variable to the id of the edition to import.
190
+ - `schedule.yml`: This workflow automatically generates schedule and content files when a new pull request includes a `schedule.json` file (see [_Import from pretalx_](#import-from-pretalx)). This enables quick content updates from [pretalx.com](https://pretalx.com/p/about/) exports. With several [editions](#editions), set its `EDITION` variable to the id of the edition to import. Its `OVERRIDES` variable names the file passed to `--overrides`.
177
191
 
178
192
  To get started, simply copy the desired workflow file to your repository and adapt it to your needs:
179
193
 
@@ -298,6 +312,8 @@ With several [_Editions_](#editions), a menu to switch between them appears at t
298
312
  - `name` labels the menu instead of the edition; a link's own `name` wins.
299
313
  - `hide: true` removes the menu at the end, but not a link with `menu: editions`.
300
314
 
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; add `pwa_hide: true` to it to keep the app on the current edition.
316
+
301
317
  ```yaml
302
318
  conference:
303
319
  navigation:
@@ -453,6 +469,7 @@ One or multiple information banners can be shown at the top of the website just
453
469
  - an additional text (`text`, markdown supported),
454
470
  - the option to show it on all pages, only the main landing page (`main_only: true`), or all pages except the main landing page (`pages_only: true`),
455
471
  - 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
+ - optionally, a list of link buttons (`links`).
456
473
 
457
474
  Information modals appear as modal dialog popups that overlay the page content, dimming the background. They are useful for displaying important announcements that require user attention. Modals are activated through the `info.modals` property, which contains a list for each information modal to show. Each modal consists of
458
475
 
@@ -460,6 +477,7 @@ Information modals appear as modal dialog popups that overlay the page content,
460
477
  - an additional text (`text`, markdown supported),
461
478
  - the option to show it on all pages, only the main landing page (`main_only: true`), or all pages except the main landing page (`pages_only: true`),
462
479
  - 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
+ - optionally, a list of link buttons (`links`) in its footer instead of the close button. Following one dismisses the modal.
463
481
 
464
482
  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.
465
483
 
@@ -474,6 +492,9 @@ conference:
474
492
  main_only: true
475
493
  dismissal_days: 7
476
494
  text: This is an information modal that appears as a dialog.
495
+ links:
496
+ - name: Program
497
+ relative_url: /program/
477
498
 
478
499
  # Information bars (shown as alerts at the top of the page)
479
500
  bars:
@@ -487,6 +508,9 @@ conference:
487
508
  ---
488
509
 
489
510
  Try again next year.
511
+ links:
512
+ - name: Waiting List
513
+ absolute_url: https://example.com/waiting-list
490
514
  - title: Important Notice
491
515
  color: warning
492
516
  dismissal_days: 0
@@ -546,6 +570,9 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
546
570
  # Background color for the PWA (default: white, #ffffff)
547
571
  background_color: "#ffffff"
548
572
 
573
+ # Banner asking visitors on phones and tablets to install the app (default: true)
574
+ install_banner: true
575
+
549
576
  # PWA icons configuration
550
577
  icons:
551
578
  - img: "icons/icon-192.png"
@@ -586,6 +613,8 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
586
613
  These icons will be used when users install the app on their devices. You can generate these from a single high-resolution logo using a tool like:
587
614
  - [PWA Asset Generator](https://github.com/onderceylan/pwa-asset-generator)
588
615
 
616
+ On phones and tablets (iOS and Android), a banner above the page invites visitors to install the app. It looks like the platform's own install banners. 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 banner hides it for 30 days. It is not shown on desktops, within the installed app or on past [editions](#editions). Set `install_banner: false` to turn it off.
617
+
589
618
  > [!NOTE]
590
619
  > Please note that when installed as a PWA, the navigation bar moves to the bottom and includes icons. See the [_Navigation Bar_](#navigation-bar) section above for more information.
591
620
 
@@ -605,6 +634,7 @@ To define available tracks, add the `tracks` property under the `talks` property
605
634
  - `info` (blue)
606
635
  - `light` (white)
607
636
  - `dark` (dark grey)
637
+ - optionally, an icon (`icon: ` followed by the [Bootstrap Icons](https://icons.getbootstrap.com/) icon name to show) as a second distinction besides the color, e.g. for color blind visitors. It is shown in the lower right corner of each talk.
608
638
 
609
639
  Instead of displaying the tag name, you can replace it with an icon. To define tags with icons, add the `tags` property under the `talks` property in your configuration file. Each listed tag requires:
610
640
 
@@ -622,6 +652,7 @@ conference:
622
652
  tracks:
623
653
  - name: Track A
624
654
  color: info
655
+ icon: circle-fill
625
656
  - name: Track B
626
657
  color: success
627
658
 
@@ -708,16 +739,18 @@ The map is based on the [Leaflet](https://leafletjs.com/) JavaScript library. To
708
739
  ```javascript
709
740
  // assets/js/maps/venue.js
710
741
  export default function (map) {
742
+ L.polygon([[47.3751, 8.5274], [47.3755, 8.5279], [47.3758, 8.5273]], {
743
+ className: 'map-area'
744
+ }).addTo(map);
745
+
711
746
  L.marker([47.37785, 8.54035], {
712
- icon: L.divIcon({
713
- className: '',
714
- html: '<span class="bi bi-train-front" aria-hidden="true"></span> Main Station',
715
- iconSize: [120, 56]
716
- })
747
+ icon: L.divIcon({ className: 'map-label', html: 'Main Station', iconSize: null })
717
748
  }).addTo(map);
718
749
  }
719
750
  ```
720
751
 
752
+ The class `map-label` centres a label on its point, sizes it to its text and keeps it dark on the light map tiles, also in dark mode. The class `map-area` draws a shape in the primary colour. Add classes of your own next to them to style labels and shapes further.
753
+
721
754
  With several [editions](#editions), each edition's location page names its own script. Alternatively, `assets/js/main.js` gets the map with `await window.conference.map.getMap()` after `await window.conference.awaitReady()` (resolves once the visitor loaded the map, with `null` on pages without map).
722
755
 
723
756
  ### Program Page
@@ -948,7 +981,7 @@ live:
948
981
 
949
982
  ### Links
950
983
 
951
- Links are used at different locations throughout the theme: They can either be used in the configuration file (for the landing page or the navigation bar), or in talks and for speakers. A link can thereby have the following properties:
984
+ Links are used at different locations throughout the theme: They can either be used in the configuration file (for the landing page, the navigation bar, info bars or modals), or in talks and for speakers. A link can thereby have the following properties:
952
985
 
953
986
  - the text to show (`name`),
954
987
  - the link address:
@@ -980,7 +1013,7 @@ Additionally, a _talk_ link can also have the following property:
980
1013
 
981
1014
  - `live: true` whereby the link is only shown below the live stream for the given talk in form of buttons.
982
1015
 
983
- Additionally, a _navigation bar_ or _main landing page_ link can also have the following properties:
1016
+ Additionally, a _navigation bar_, _main landing page_, _info bar_ or _info modal_ link can also have the following properties:
984
1017
 
985
1018
  - `live: true` making the link only visible during the conference and adds a live indication.
986
1019
  - The link is only shown if `name` is set. If `name` is an empty string, "Live Stream" is shown instead.
@@ -1102,6 +1135,42 @@ While offering the most flexibility, this setup requires several steps:
1102
1135
  // ...
1103
1136
  ```
1104
1137
 
1138
+ ### Styling Hooks
1139
+
1140
+ Talks, speakers, rooms and the recurring parts of pages carry a class of their own wherever they are shown (program, overviews, talk, speaker and room pages, video and live stream modals). Use them to style these elements in `assets/css/main.scss` without depending on the Bootstrap classes of the markup:
1141
+
1142
+ | Class | Element |
1143
+ |---|---|
1144
+ | **Talks** | |
1145
+ | `talk-list` | List of talks in the talk overview or on a speaker or room page (contains one `talk-item` per talk) |
1146
+ | `talk-item` | Talk in such a list |
1147
+ | `talk-title` | Title of a talk |
1148
+ | `talk-speakers` | Speakers of a talk (contains one `speaker-name` per speaker) |
1149
+ | `talk-info` | Time, room and duration of a talk (contains `talk-time`, `room-name` and `talk-duration`) |
1150
+ | `talk-time` | Start time of a talk |
1151
+ | `talk-duration` | Duration of a talk |
1152
+ | `track-name` | Name of a track |
1153
+ | `talk-tag` | Tag of a talk |
1154
+ | **Speakers and rooms** | |
1155
+ | `speaker-name` | Name of a speaker |
1156
+ | `room-name` | Name of a room |
1157
+ | **Pages** | |
1158
+ | `home-header` | Header box of the home page |
1159
+ | `page-label` | Label above the title of a speaker page (_Speaker_) |
1160
+ | `links-icon`, `links-more` | List of links at the end of a talk or speaker page: with an icon (files and videos), or further links (below _More information_) |
1161
+ | `link-item` | Link in such a list |
1162
+ | `back-link` | Link back to the overview or program at the end of a talk or speaker page |
1163
+ | `consent-button` | Button to load an external map or video |
1164
+
1165
+ For example, to set speakers in italics:
1166
+
1167
+ ```scss
1168
+ .talk-speakers,
1169
+ .speaker-name {
1170
+ font-style: italic;
1171
+ }
1172
+ ```
1173
+
1105
1174
  ### Icons
1106
1175
 
1107
1176
  The theme shows [Bootstrap Icons](https://icons.getbootstrap.com/) as inline SVG images, rendered when the site is built: only the icons in use are part of a page, without loading an icon font. Any icon name can be used for links and tags (e.g. `icon: camera-video-off-fill`); unknown names show no icon. In your own pages and layouts, include an icon with
@@ -1137,10 +1206,10 @@ To add custom JavaScript, edit the `assets/js/main.js` file in your project. Thi
1137
1206
  - `conference.stream`: Live stream modal
1138
1207
  - `conference.infobox`: Dismissal of information boxes and modals
1139
1208
  - `conference.darkmode`: Dark mode according to the system preference
1140
- - `conference.pwa`: Service worker registration (if PWA is enabled)
1209
+ - `conference.pwa`: Service worker registration and install banner (if PWA is enabled)
1141
1210
  - `conference.config`: Settings of the modules, e.g. `conference.config.baseurl`, `conference.config.edition` (the page's edition id, `null` without editions) and `conference.config.edition_current`
1142
1211
  - `conference.awaitReady()`: Promise-based initialization helper
1143
- - `window.bootstrap`: Bootstrap components (Alert, Collapse, Dropdown, Modal, Tab)
1212
+ - `window.bootstrap`: Bootstrap components (Alert, Collapse, Dropdown, Modal, Offcanvas, Tab)
1144
1213
  - `window.L`: Leaflet map library (once the map is loaded)
1145
1214
 
1146
1215
  **Example Usage:**
@@ -1196,7 +1265,7 @@ _js/
1196
1265
  ├── modal.js # Links in a modal
1197
1266
  ├── nowline.js # Line at the current time in the program
1198
1267
  ├── program.js # Program days as tabs
1199
- ├── pwa.js # Service worker registration
1268
+ ├── pwa.js # Service worker registration, install banner
1200
1269
  └── stream.js # Live stream modal
1201
1270
  ```
1202
1271
 
@@ -1,5 +1,5 @@
1
1
  # Generated by `npm run build`: content hashes of the bundles
2
- css/conference-only.bundle.css: "f974cce9aa"
3
- css/conference.bundle.css: "9f1fdccf8d"
4
- css/map.bundle.css: "b607a13fcd"
5
- js/conference.bundle.js: "40d51faa7c"
2
+ css/conference-only.bundle.css: "9c325bb92e"
3
+ css/conference.bundle.css: "287c290988"
4
+ css/map.bundle.css: "3104fafcdf"
5
+ js/conference.bundle.js: "102f0af456"
data/_data/lang.yml CHANGED
@@ -1,4 +1,4 @@
1
- version: 13
1
+ version: 14
2
2
 
3
3
  en:
4
4
  pronoun:
@@ -64,6 +64,19 @@ en:
64
64
  title: Talk
65
65
  editions:
66
66
  title: Edition
67
+ pwa:
68
+ subtitle: Program offline on your home screen
69
+ install: Install
70
+ title: Install the app
71
+ ios:
72
+ share: "Tap the Share button in the browser's toolbar (if hidden, behind “⋯”)."
73
+ add: "Scroll down and tap “Add to Home Screen”."
74
+ confirm: "Tap “Add”."
75
+ android:
76
+ menu: "Tap the menu button “⋮” in the browser's toolbar."
77
+ add: "Tap “Install app” or “Add to Home screen”."
78
+ confirm: "Tap “Install”."
79
+ done: Then open the app from its icon, also offline.
67
80
 
68
81
  de:
69
82
  pronoun:
@@ -129,6 +142,19 @@ de:
129
142
  title: Vortrag
130
143
  editions:
131
144
  title: Ausgabe
145
+ pwa:
146
+ subtitle: Programm offline als App
147
+ install: Installieren
148
+ title: App installieren
149
+ ios:
150
+ share: "Tippen Sie in der Symbolleiste des Browsers auf „Teilen“ (falls nicht sichtbar, hinter „⋯“)."
151
+ add: "Scrollen Sie nach unten und tippen Sie auf „Zum Home-Bildschirm“."
152
+ confirm: "Tippen Sie auf „Hinzufügen“."
153
+ android:
154
+ menu: "Tippen Sie in der Symbolleiste des Browsers auf das Menü „⋮“."
155
+ add: "Tippen Sie auf „App installieren“ oder „Zum Startbildschirm hinzufügen“."
156
+ confirm: "Tippen Sie auf „Installieren“."
157
+ done: Öffnen Sie die App danach über ihr Symbol, auch offline.
132
158
 
133
159
  fr:
134
160
  pronoun:
@@ -194,6 +220,19 @@ fr:
194
220
  title: Présentation
195
221
  editions:
196
222
  title: Édition
223
+ pwa:
224
+ subtitle: Programme hors ligne sur l'écran d'accueil
225
+ install: Installer
226
+ title: Installer l'application
227
+ ios:
228
+ share: "Touchez le bouton « Partager » dans la barre d'outils du navigateur (s'il est masqué, sous « ⋯ »)."
229
+ add: "Faites défiler vers le bas et touchez « Sur l'écran d'accueil »."
230
+ confirm: "Touchez « Ajouter »."
231
+ android:
232
+ menu: "Touchez le menu « ⋮ » dans la barre d'outils du navigateur."
233
+ add: "Touchez « Installer l'application » ou « Ajouter à l'écran d'accueil »."
234
+ confirm: "Touchez « Installer »."
235
+ done: Ouvrez ensuite l'application depuis son icône, même hors ligne.
197
236
 
198
237
  pt:
199
238
  pronoun:
@@ -259,3 +298,16 @@ pt:
259
298
  title: Apresentação
260
299
  editions:
261
300
  title: Edição
301
+ pwa:
302
+ subtitle: Programação offline na tela inicial
303
+ install: Instalar
304
+ title: Instalar o app
305
+ ios:
306
+ share: "Toque no botão “Compartilhar” na barra de ferramentas do navegador (se não estiver visível, em “⋯”)."
307
+ add: "Role para baixo e toque em “Adicionar à Tela de Início”."
308
+ confirm: "Toque em “Adicionar”."
309
+ android:
310
+ menu: "Toque no menu “⋮” na barra de ferramentas do navegador."
311
+ add: "Toque em “Instalar app” ou “Adicionar à tela inicial”."
312
+ confirm: "Toque em “Instalar”."
313
+ done: Depois, abra o app pelo ícone, também offline.
@@ -1,6 +1,6 @@
1
1
  {%- assign errors = '' | split: ',' -%}
2
2
 
3
- {%- if site.data.lang.version != 13 -%}
3
+ {%- if site.data.lang.version != 14 -%}
4
4
  {%- 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/main/_data/lang.yml)." -%}
5
5
  {%- endif -%}
6
6
  {%- unless site.conference.lang == "en" or site.conference.lang == "de" or site.conference.lang == "fr" or site.conference.lang == "pt" -%}
@@ -13,7 +13,7 @@
13
13
  {{ embed_lang.privacy | default: "This content is loaded from an external provider, which receives your IP address:" }}
14
14
  <a href="{{ include.href | escape }}" rel="noopener" data-embed-host>{{ embed_host[2] | escape }}</a>
15
15
  </p>
16
- <button type="button" class="btn btn-primary" data-embed-load>
16
+ <button type="button" class="consent-button btn btn-primary" data-embed-load>
17
17
  {% include icon.html name="play-fill" %}
18
18
  {{ embed_lang.load | default: "Load content" }}
19
19
  </button>
@@ -6,6 +6,7 @@
6
6
  </footer>
7
7
 
8
8
  {%- include modal_link.html -%}
9
+ {%- include pwa_install.html -%}
9
10
 
10
11
  {%- if edition_live.streaming.enable -%}
11
12
  {%- include modal_live.html -%}
@@ -1,8 +1,15 @@
1
+ {%- assign day_time_found = false -%}
1
2
  {%- for r in d.rooms -%}
3
+ {%- comment -%} Rooms without talks have no times (would count as 00:00) {%- endcomment -%}
4
+ {%- assign room_talks = r.talks | size -%}
5
+ {%- if room_talks == 0 -%}
6
+ {%- continue -%}
7
+ {%- endif -%}
8
+
2
9
  {%- assign t = r.talks | first -%}
3
10
  {%- include get_talk_time.html -%}
4
11
 
5
- {%- if forloop.index == 1 or talk_start_day < day_start_day or talk_start_day == day_start_day and talk_start_hour < day_start_hour or talk_start_hour == day_start_hour and talk_start_min < day_start_min-%}
12
+ {%- if day_time_found == false or talk_start_day < day_start_day or talk_start_day == day_start_day and talk_start_hour < day_start_hour or talk_start_hour == day_start_hour and talk_start_min < day_start_min-%}
6
13
  {%- assign day_start_talk = t -%}
7
14
  {%- assign day_start_day = talk_start_day -%}
8
15
  {%- assign day_start_hour = talk_start_hour -%}
@@ -12,10 +19,12 @@
12
19
  {%- assign t = r.talks | last -%}
13
20
  {%- include get_talk_time.html -%}
14
21
 
15
- {%- if forloop.index == 1 or talk_end_day > day_end_day or talk_end_day == day_end_day and talk_end_hour > day_end_hour or talk_end_hour == day_end_hour and talk_end_min > day_end_min-%}
22
+ {%- if day_time_found == false or talk_end_day > day_end_day or talk_end_day == day_end_day and talk_end_hour > day_end_hour or talk_end_hour == day_end_hour and talk_end_min > day_end_min-%}
16
23
  {%- assign day_end_talk = t -%}
17
24
  {%- assign day_end_day = talk_end_day -%}
18
25
  {%- assign day_end_hour = talk_end_hour -%}
19
26
  {%- assign day_end_min = talk_end_min -%}
20
27
  {%- endif -%}
28
+
29
+ {%- assign day_time_found = true -%}
21
30
  {%- endfor -%}
@@ -166,7 +166,7 @@
166
166
  {%- assign link_icon_name = link_icon | default: 'link-45deg' -%}
167
167
  {%- capture link_list_item -%}
168
168
  <li class="mb-1">
169
- {{ link_tag | replace: ' class="', ' class="icon-link '}}
169
+ {{ link_tag | replace: ' class="', ' class="link-item icon-link '}}
170
170
  {% include icon.html name=link_icon_name %}
171
171
  {{- link.name | escape }}
172
172
  </a>
@@ -0,0 +1,17 @@
1
+ {%- comment -%}
2
+ Whether the navigation link `link` leads to the current page or its
3
+ section, e.g. /talks/ on /talks/x/; room pages belong to the location
4
+ page. Sets is_active.
5
+ {%- endcomment -%}
6
+ {%- assign link_url = nil -%}
7
+ {%- if link.relative_url -%}
8
+ {%- assign link_url = link.relative_url | prepend: edition_base -%}
9
+ {%- endif -%}
10
+
11
+ {%- if page.url == link_url or link.relative_url != "/" and page.url contains link_url -%}
12
+ {%- assign is_active = true -%}
13
+ {%- elsif page.layout == "room" and location_url and link_url == location_url -%}
14
+ {%- assign is_active = true -%}
15
+ {%- else -%}
16
+ {%- assign is_active = false -%}
17
+ {%- endif -%}
@@ -1,9 +1,9 @@
1
1
  {% assign track_color = track_prop.color | default: 'light' %}
2
- <li class="ps-2 mb-2 border-start border-4 border-{{ track_color }}-subtle">
2
+ <li class="talk-item border-{{ track_color }}-subtle">
3
3
  <p class="mb-1">
4
4
  {% include show_talk.html %}
5
5
  </p>
6
- <p class="fw-light mb-1">
6
+ <p class="talk-speakers mb-1">
7
7
  {% include list_speakers.html %}
8
8
  </p>
9
9
 
@@ -15,7 +15,7 @@
15
15
  {%- assign room = edition_rooms | where: 'name', r.name | first -%}
16
16
  {%- for t in r.talks -%}
17
17
  {%- if talk.name == t.name -%}
18
- <p class="mb-1 fw-light">
18
+ <p class="talk-info mb-1">
19
19
  {%- include show_talk_info.html hide_duration=true -%}
20
20
  </p>
21
21
 
@@ -1,7 +1,9 @@
1
1
  {%- assign track_color = 'light' -%}
2
+ {%- assign track_icon = nil -%}
2
3
  {%- for track_prop in edition_tracks -%}
3
4
  {%- if talk.track == track_prop.name -%}
4
5
  {%- assign track_color = track_prop.color | default: track_color -%}
6
+ {%- assign track_icon = track_prop.icon -%}
5
7
  {%- break -%}
6
8
  {%- endif -%}
7
9
  {%- endfor -%}
@@ -43,6 +43,7 @@
43
43
  <a href="#main" class="visually-hidden-focusable position-absolute top-0 start-0">
44
44
  {{ site.data.lang[site.conference.lang].navigation.skip_to_content | default: "Skip to content" }}
45
45
  </a>
46
+ {%- include pwa_banner.html %}
46
47
  <header>
47
48
  <!-- navigation bar (web only): -->
48
49
  {%- include navbar.html -%}
@@ -26,6 +26,7 @@
26
26
  {%- endif -%}
27
27
 
28
28
  {%- if show_infobar %}
29
+ {%- assign infobar_dropdown_id = "infobar" | append: forloop.index -%}
29
30
  {%- assign dismissal_days = infobar.dismissal_days | default: 7 -%}
30
31
  {%- if dismissal_days > 0 -%}
31
32
  {%- assign infobar_id = infobar.title | default: '' | append: infobar.text | slugify -%}
@@ -40,6 +41,13 @@
40
41
 
41
42
  {{ infobar.text | markdownify | replace: "<a href=", "<a class='alert-link' href=" }}
42
43
 
44
+ {%- if infobar.links %}
45
+ {%- assign infobar_btn = infobar.color | default: "primary" | prepend: "btn btn-" | append: " me-1" %}
46
+ <div class="mt-3 d-print-none">
47
+ {% include show_link_buttons.html links=infobar.links class=infobar_btn id=infobar_dropdown_id %}
48
+ </div>
49
+ {%- endif %}
50
+
43
51
  {%- if dismissal_days > 0 -%}
44
52
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ site.data.lang[site.conference.lang].close | default: 'Close' }}"></button>
45
53
  {%- endif -%}
@@ -100,11 +108,18 @@
100
108
 
101
109
  </div>
102
110
 
103
- {%- if dismissal_days > 0 -%}
111
+ {%- if dismissal_days > 0 or infomodal.links -%}
104
112
  <div class="modal-footer">
105
- <button type="button" class="btn btn-primary" data-bs-dismiss="modal">
106
- {{ site.data.lang[site.conference.lang].close | default: "Close" }}
107
- </button>
113
+ {%- if infomodal.links -%}
114
+ {%- assign infomodal_dropdown_id = "infomodal" | append: forloop.index -%}
115
+ <div class="d-print-none">
116
+ {% include show_link_buttons.html links=infomodal.links class="btn btn-outline-primary" id=infomodal_dropdown_id popper="fixed" %}
117
+ </div>
118
+ {%- elsif dismissal_days > 0 -%}
119
+ <button type="button" class="btn btn-primary" data-bs-dismiss="modal">
120
+ {{ site.data.lang[site.conference.lang].close | default: "Close" }}
121
+ </button>
122
+ {%- endif -%}
108
123
  </div>
109
124
  {%- endif -%}
110
125
 
@@ -4,9 +4,9 @@
4
4
  {%- if include.text_only -%}
5
5
  {{- speaker_name -}}
6
6
  {%- elsif speaker.hide -%}
7
- {{- speaker_name | escape -}}
7
+ <span class="speaker-name">{{- speaker_name | escape -}}</span>
8
8
  {%- else -%}
9
- <a class="text-reset link-underline-{{ track_color }} link-underline-opacity-0 link-underline-opacity-100-hover" href="{{ speaker.url | prepend: site.baseurl }}">
9
+ <a class="speaker-name text-reset link-underline-{{ track_color }} link-underline-opacity-0 link-underline-opacity-100-hover" href="{{ speaker.url | prepend: site.baseurl }}">
10
10
  {{- speaker_name | escape -}}
11
11
  </a>
12
12
  {%- endif -%}
@@ -1,4 +1,4 @@
1
1
  {%- for tag in talk.tags -%}
2
2
  {%- include get_tag_icon.html -%}
3
- <span class="badge fw-normal bg-body-secondary text-body-secondary {{ include.class }}">{{ tag_html }}</span>&nbsp;
3
+ <span class="talk-tag badge fw-normal bg-body-secondary text-body-secondary {{ include.class }}">{{ tag_html }}</span>&nbsp;
4
4
  {%- endfor -%}
@@ -3,8 +3,8 @@
3
3
  <div class="modal-content">
4
4
  <div class="modal-header">
5
5
  <div class="modal-title">
6
- <h2 class="h3 mb-2 fw-light" id="link-modal-label"></h2>
7
- <p class="h5 mb-0 fw-light d-none" id="link-modal-description"></p>
6
+ <h2 class="talk-title h3 mb-2" id="link-modal-label"></h2>
7
+ <p class="talk-speakers mb-0 d-none" id="link-modal-description"></p>
8
8
  </div>
9
9
  <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ site.data.lang[site.conference.lang].close | default: 'Close' }}"></button>
10
10
  </div>
@@ -25,9 +25,9 @@
25
25
  <div class="align-self-start live-time my-0 small" id="stream-info-time" data-time=""></div>
26
26
  <div class="align-self-start ps-2 border-start border-4" id="stream-info-color">
27
27
  <p class="mb-0">
28
- <a class="text-reset link-underline-opacity-0 link-underline-opacity-100-hover" href="#" id="stream-info-talk"></a>
28
+ <a class="talk-title text-reset link-underline-opacity-0 link-underline-opacity-100-hover" href="#" id="stream-info-talk"></a>
29
29
  </p>
30
- <p class="mb-0 fw-light" id="stream-info-speakers"></p>
30
+ <p class="talk-speakers mb-0" id="stream-info-speakers"></p>
31
31
  </div>
32
32
  <div class="align-self-center m-0 mt-1 d-none" id="stream-info-links"></div>
33
33
  </div>
@@ -52,15 +52,7 @@
52
52
 
53
53
  {%- else %}
54
54
  <li class="nav-item">
55
- {% assign link_url = nil -%}
56
- {%- if link.relative_url -%}
57
- {%- assign link_url = link.relative_url | prepend: edition_base -%}
58
- {%- endif -%}
59
- {% if page.url == link_url or link.relative_url != "/" and page.url contains link_url %}
60
- {% assign is_active = true %}
61
- {% else %}
62
- {% assign is_active = false %}
63
- {% endif %}
55
+ {%- include get_link_active.html -%}
64
56
  {%- include get_link.html class="nav-link" is_active=is_active -%}
65
57
  {{ link_tag }}
66
58
  {{ link.name }}
@@ -24,15 +24,7 @@
24
24
 
25
25
  {%- else %}
26
26
  <div class="px-2">
27
- {% assign link_url = nil -%}
28
- {%- if link.relative_url -%}
29
- {%- assign link_url = link.relative_url | prepend: edition_base -%}
30
- {%- endif -%}
31
- {% if page.url == link_url or link.relative_url != "/" and page.url contains link_url %}
32
- {% assign is_active = true %}
33
- {% else %}
34
- {% assign is_active = false %}
35
- {% endif %}
27
+ {%- include get_link_active.html -%}
36
28
  {%- include get_link.html class="nav-link icon-link flex-column flex-md-row text-center" is_active=is_active -%}
37
29
  {{ link_tag }}
38
30
  {% assign link_icon_name = link_icon | default: 'link-45deg' %}{% include icon.html name=link_icon_name %}
@@ -11,7 +11,7 @@
11
11
 
12
12
  {% unless all_hidden %}
13
13
  <nav aria-label="{{ site.data.lang[site.conference.lang].location.navigation | default: 'Room navigation' }}">
14
- <ul class="nav nav-pills d-print-none mb-3" role="list">
14
+ <ul class="nav nav-pills d-print-none mb-1" role="list">
15
15
  <li class="nav-item">
16
16
  <a class="nav-link {% if page.name contains 'index' %}active{% endif %}" href="{{ location_url | prepend: site.baseurl }}"{% if page.name contains 'index' %} aria-current="page"{% endif %}>
17
17
  {% if location_page.title -%}
@@ -24,11 +24,11 @@
24
24
  {% for room in edition_rooms -%}
25
25
  <li class="nav-item">
26
26
  {% if room.hide or location_hide -%}
27
- <span class="nav-item nav-link disabled" aria-disabled="true">
27
+ <span class="room-name nav-item nav-link disabled" aria-disabled="true">
28
28
  {{ room.name | escape }}
29
29
  </span>
30
30
  {%- else -%}
31
- <a class="nav-link {% if this_room.name == room.name %}active{% endif %}" href="{{ room.url | prepend: site.baseurl }}"{% if this_room.name == room.name %} aria-current="page"{% endif %}>
31
+ <a class="room-name nav-link {% if this_room.name == room.name %}active{% endif %}" href="{{ room.url | prepend: site.baseurl }}"{% if this_room.name == room.name %} aria-current="page"{% endif %}>
32
32
  {{ room.name | escape }}
33
33
  </a>
34
34
  {%- endif %}