jekyll-theme-conference 5.0.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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +95 -15
  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/conference_config.json +4 -0
  7. data/_includes/embed_consent.html +1 -1
  8. data/_includes/footer.html +1 -0
  9. data/_includes/get_day_time.html +11 -2
  10. data/_includes/get_link.html +1 -1
  11. data/_includes/get_link_active.html +17 -0
  12. data/_includes/get_talk_overview_talk.html +3 -3
  13. data/_includes/get_track_properties.html +2 -0
  14. data/_includes/header.html +1 -0
  15. data/_includes/infobox.html +19 -4
  16. data/_includes/list_speakers.html +2 -2
  17. data/_includes/list_tags.html +1 -1
  18. data/_includes/modal_link.html +2 -2
  19. data/_includes/modal_live.html +2 -2
  20. data/_includes/navbar.html +1 -9
  21. data/_includes/navbar_pwa.html +1 -9
  22. data/_includes/navbar_rooms.html +3 -3
  23. data/_includes/pwa_banner.html +29 -0
  24. data/_includes/pwa_install.html +26 -0
  25. data/_includes/show_link_buttons.html +53 -0
  26. data/_includes/show_room.html +2 -2
  27. data/_includes/show_talk.html +2 -2
  28. data/_includes/show_talk_duration.html +2 -2
  29. data/_includes/show_talk_listed.html +2 -2
  30. data/_includes/show_talk_time.html +2 -2
  31. data/_layouts/home.html +2 -47
  32. data/_layouts/location.html +3 -3
  33. data/_layouts/program.html +54 -7
  34. data/_layouts/room.html +5 -11
  35. data/_layouts/speaker-overview.html +1 -1
  36. data/_layouts/speaker.html +8 -8
  37. data/_layouts/stream-overview.html +1 -1
  38. data/_layouts/talk-overview.html +4 -4
  39. data/_layouts/talk.html +12 -12
  40. data/_sass/bootstrap.scss +1 -0
  41. data/_sass/theme.scss +285 -3
  42. data/assets/css/conference-only.bundle.css +1 -1
  43. data/assets/css/conference.bundle.css +1 -1
  44. data/assets/css/map.bundle.css +1 -1
  45. data/assets/js/conference.bundle.js +2 -2
  46. metadata +5 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38c9076dbcd518202588a57c7c1c3ecc9863377ce459ef1576f2932b4cd4e128
4
- data.tar.gz: 05a18ae60e11c43929928085666eb70e8ff82648a39a5573e64a04f915ae88b7
3
+ metadata.gz: 4d3cea0a1eceaa2191779f067821a31fc4e7ea81e741fffed6fd52c87b5f9e74
4
+ data.tar.gz: 1306c10b3e6d35e2463c140c21c8750e35aa36c6db14780c49ee8aa3a6d77056
5
5
  SHA512:
6
- metadata.gz: ba8f26be0a3599ce85f71a91e56c797d3be63ff984717edd93296fa84df7808a4ea207c5a265ce753815819601342c280ecfa825523ece40a356b40e23e2a908
7
- data.tar.gz: c9282fbc2844da0ee340bd11ccbb11338f4768a6ee25126d16baf51e54b6b3be1a4923e90b5c7bdc16ccc78bdb109978a1ab81d2e0a2672e93ad803e2418b6ee
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,21 +131,24 @@ To install:
130
131
  bundle
131
132
  ```
132
133
 
133
- 4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.0.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.0.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., `@v4.1.0` to `@v5.0.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
145
146
 
146
147
  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.
147
148
 
149
+ > [!TIP]
150
+ > To get started quickly, use the [template repository](https://github.com/DigitaleGesellschaft/jekyll-theme-conference-template): its `main` branch is an empty site ready to be filled, its `demo` branch showcases the theme with a fictional conference.
151
+
148
152
  > [!TIP]
149
153
  > 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)).
150
154
 
@@ -162,6 +166,19 @@ In this repository, you'll find the Python file `_tools/import_schedule.py`. Thi
162
166
 
163
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.
164
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
+
165
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/`.
166
183
 
167
184
  ### Automatic Build
@@ -170,7 +187,7 @@ If you prefer not to install the full Ruby/Jekyll toolchain locally, you can lev
170
187
 
171
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.
172
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.
173
- - `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`.
174
191
 
175
192
  To get started, simply copy the desired workflow file to your repository and adapt it to your needs:
176
193
 
@@ -295,6 +312,8 @@ With several [_Editions_](#editions), a menu to switch between them appears at t
295
312
  - `name` labels the menu instead of the edition; a link's own `name` wins.
296
313
  - `hide: true` removes the menu at the end, but not a link with `menu: editions`.
297
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
+
298
317
  ```yaml
299
318
  conference:
300
319
  navigation:
@@ -450,6 +469,7 @@ One or multiple information banners can be shown at the top of the website just
450
469
  - an additional text (`text`, markdown supported),
451
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`),
452
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`).
453
473
 
454
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
455
475
 
@@ -457,6 +477,7 @@ Information modals appear as modal dialog popups that overlay the page content,
457
477
  - an additional text (`text`, markdown supported),
458
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`),
459
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.
460
481
 
461
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.
462
483
 
@@ -471,6 +492,9 @@ conference:
471
492
  main_only: true
472
493
  dismissal_days: 7
473
494
  text: This is an information modal that appears as a dialog.
495
+ links:
496
+ - name: Program
497
+ relative_url: /program/
474
498
 
475
499
  # Information bars (shown as alerts at the top of the page)
476
500
  bars:
@@ -484,6 +508,9 @@ conference:
484
508
  ---
485
509
 
486
510
  Try again next year.
511
+ links:
512
+ - name: Waiting List
513
+ absolute_url: https://example.com/waiting-list
487
514
  - title: Important Notice
488
515
  color: warning
489
516
  dismissal_days: 0
@@ -499,7 +526,10 @@ This can be further extended if some talks have an associated live stream: When
499
526
 
500
527
  To activate these functionalities, each day in the `program.yml` file must contain a `date` property (see section [_Content_](#content) > [Schedule / Program](#schedule--program) below) and the `live` property has to be set in the configuration file containing
501
528
 
502
- - optionally, how long a pause between two consecutive talks has to be for the live indication to pause (`stop`, default: `240`), and
529
+ - optionally, how long a pause between two consecutive talks has to be for the live indication to pause (`stop`, default: `240`),
530
+ - optionally, under the `now_line` property, a horizontal line in the program marking the current time (behind the talks):
531
+ - if it is shown (`enable`, default: `true`), and
532
+ - its colour, one of Bootstrap's theme colours (`color`, default: `danger`), and
503
533
  - optionally, under the `streaming` property:
504
534
  - if streaming should be enabled (`enable`), and if enabled
505
535
  - how many minutes the stream goes active before a talk (`prepend`, default: `5`),
@@ -512,6 +542,9 @@ To activate these functionalities, each day in the `program.yml` file must conta
512
542
  conference:
513
543
  live:
514
544
  stop: 240 # in minutes
545
+ now_line:
546
+ enable: true
547
+ color: danger # Bootstrap theme colour, e.g. primary
515
548
  streaming:
516
549
  enable: true
517
550
  pause: 60 # in minutes
@@ -537,6 +570,9 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
537
570
  # Background color for the PWA (default: white, #ffffff)
538
571
  background_color: "#ffffff"
539
572
 
573
+ # Banner asking visitors on phones and tablets to install the app (default: true)
574
+ install_banner: true
575
+
540
576
  # PWA icons configuration
541
577
  icons:
542
578
  - img: "icons/icon-192.png"
@@ -577,6 +613,8 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
577
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:
578
614
  - [PWA Asset Generator](https://github.com/onderceylan/pwa-asset-generator)
579
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
+
580
618
  > [!NOTE]
581
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.
582
620
 
@@ -596,6 +634,7 @@ To define available tracks, add the `tracks` property under the `talks` property
596
634
  - `info` (blue)
597
635
  - `light` (white)
598
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.
599
638
 
600
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:
601
640
 
@@ -613,6 +652,7 @@ conference:
613
652
  tracks:
614
653
  - name: Track A
615
654
  color: info
655
+ icon: circle-fill
616
656
  - name: Track B
617
657
  color: success
618
658
 
@@ -699,16 +739,18 @@ The map is based on the [Leaflet](https://leafletjs.com/) JavaScript library. To
699
739
  ```javascript
700
740
  // assets/js/maps/venue.js
701
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
+
702
746
  L.marker([47.37785, 8.54035], {
703
- icon: L.divIcon({
704
- className: '',
705
- html: '<span class="bi bi-train-front" aria-hidden="true"></span> Main Station',
706
- iconSize: [120, 56]
707
- })
747
+ icon: L.divIcon({ className: 'map-label', html: 'Main Station', iconSize: null })
708
748
  }).addTo(map);
709
749
  }
710
750
  ```
711
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
+
712
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).
713
755
 
714
756
  ### Program Page
@@ -939,7 +981,7 @@ live:
939
981
 
940
982
  ### Links
941
983
 
942
- 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:
943
985
 
944
986
  - the text to show (`name`),
945
987
  - the link address:
@@ -971,7 +1013,7 @@ Additionally, a _talk_ link can also have the following property:
971
1013
 
972
1014
  - `live: true` whereby the link is only shown below the live stream for the given talk in form of buttons.
973
1015
 
974
- 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:
975
1017
 
976
1018
  - `live: true` making the link only visible during the conference and adds a live indication.
977
1019
  - The link is only shown if `name` is set. If `name` is an empty string, "Live Stream" is shown instead.
@@ -1093,6 +1135,42 @@ While offering the most flexibility, this setup requires several steps:
1093
1135
  // ...
1094
1136
  ```
1095
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
+
1096
1174
  ### Icons
1097
1175
 
1098
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
@@ -1124,13 +1202,14 @@ To add custom JavaScript, edit the `assets/js/main.js` file in your project. Thi
1124
1202
  - `conference.modal`: Links (e.g. videos) in a modal
1125
1203
  - `conference.embed`: Embedded streams on the stream overview page
1126
1204
  - `conference.live`: Live indications following the program (incl. `setTime("09:30", "2026-02-20")`, `getTime()`, `pauseTime()`, `continueTime()`, `resetTime()` for testing)
1205
+ - `conference.nowline`: Line at the current time in the program
1127
1206
  - `conference.stream`: Live stream modal
1128
1207
  - `conference.infobox`: Dismissal of information boxes and modals
1129
1208
  - `conference.darkmode`: Dark mode according to the system preference
1130
- - `conference.pwa`: Service worker registration (if PWA is enabled)
1209
+ - `conference.pwa`: Service worker registration and install banner (if PWA is enabled)
1131
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`
1132
1211
  - `conference.awaitReady()`: Promise-based initialization helper
1133
- - `window.bootstrap`: Bootstrap components (Alert, Collapse, Dropdown, Modal, Tab)
1212
+ - `window.bootstrap`: Bootstrap components (Alert, Collapse, Dropdown, Modal, Offcanvas, Tab)
1134
1213
  - `window.L`: Leaflet map library (once the map is loaded)
1135
1214
 
1136
1215
  **Example Usage:**
@@ -1184,8 +1263,9 @@ _js/
1184
1263
  ├── live.js # Live indications
1185
1264
  ├── map.js # Map functionality
1186
1265
  ├── modal.js # Links in a modal
1266
+ ├── nowline.js # Line at the current time in the program
1187
1267
  ├── program.js # Program days as tabs
1188
- ├── pwa.js # Service worker registration
1268
+ ├── pwa.js # Service worker registration, install banner
1189
1269
  └── stream.js # Live stream modal
1190
1270
  ```
1191
1271
 
@@ -1,5 +1,5 @@
1
1
  # Generated by `npm run build`: content hashes of the bundles
2
- css/conference-only.bundle.css: "88f0b98494"
3
- css/conference.bundle.css: "830ee33744"
4
- css/map.bundle.css: "b607a13fcd"
5
- js/conference.bundle.js: "9a758590c7"
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" -%}
@@ -35,6 +35,10 @@
35
35
  },
36
36
  {%- endif %}
37
37
 
38
+ {% if edition_live and edition_live.now_line.enable != false -%}
39
+ "nowline": {},
40
+ {%- endif %}
41
+
38
42
  {% if edition_live.streaming.enable -%}
39
43
  "stream": {
40
44
  "pause": {{ edition_live.streaming.pause | default: 60 }},
@@ -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 }}