jekyll-theme-conference 5.1.0 → 5.3.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 +87 -15
- data/_data/conference_assets.yml +4 -4
- data/_data/lang.yml +57 -1
- data/_includes/checks.html +1 -1
- data/_includes/embed_consent.html +1 -1
- data/_includes/footer.html +2 -0
- data/_includes/get_day_time.html +11 -2
- data/_includes/get_link.html +1 -1
- data/_includes/get_link_active.html +17 -0
- data/_includes/get_live_icon.html +5 -1
- data/_includes/get_pwa_in.html +26 -0
- data/_includes/get_talk_overview_talk.html +3 -3
- data/_includes/get_track_properties.html +2 -0
- data/_includes/header.html +2 -1
- data/_includes/icon.html +12 -3
- data/_includes/infobox.html +19 -4
- data/_includes/list_header_pwa.html +5 -0
- data/_includes/list_speakers.html +2 -2
- data/_includes/list_tags.html +1 -1
- data/_includes/modal_link.html +2 -2
- data/_includes/modal_live.html +2 -2
- data/_includes/navbar.html +1 -9
- data/_includes/navbar_pwa.html +200 -30
- data/_includes/navbar_rooms.html +3 -3
- data/_includes/pwa_banner.html +29 -0
- data/_includes/pwa_install.html +26 -0
- data/_includes/show_link_buttons.html +53 -0
- data/_includes/show_menu_items.html +5 -3
- data/_includes/show_room.html +2 -2
- data/_includes/show_talk.html +2 -2
- data/_includes/show_talk_duration.html +2 -2
- data/_includes/show_talk_listed.html +2 -2
- data/_includes/show_talk_time.html +2 -2
- data/_layouts/home.html +2 -47
- data/_layouts/location.html +3 -3
- data/_layouts/program.html +21 -5
- data/_layouts/room.html +5 -11
- data/_layouts/speaker-overview.html +1 -1
- data/_layouts/speaker.html +8 -8
- data/_layouts/stream-overview.html +1 -1
- data/_layouts/talk-overview.html +4 -4
- data/_layouts/talk.html +12 -12
- data/_sass/bootstrap.scss +1 -0
- data/_sass/theme.scss +318 -3
- data/assets/css/conference-only.bundle.css +1 -1
- data/assets/css/conference.bundle.css +1 -1
- data/assets/css/map.bundle.css +1 -1
- data/assets/js/conference.bundle.js +2 -2
- metadata +6 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '08a729920aef186eadeacd3b047c375b7106a31978903de09948822ec8fdf239'
|
|
4
|
+
data.tar.gz: 0c10d4402eedee27e699cee35c88c80d8cf73430e4e64d2ec6a087b6b5c7a756
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 379c5dd122844c9082f6ca425d67ac9ccac647d9a9e63f3b9dafd6d887bcd24c031ae072fe32e9e09ebb8c6707266d2953ef1e0fb80fd096283616a8758bb3c4
|
|
7
|
+
data.tar.gz: e292569dcaa7a49a5d0efb1a78f821591e305ad694eeccda86e87634c246dd1cb8a6a6b3da41c896eccc6a9e452f09ae8d5e6d727613838c912274187312dfcc
|
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.
|
|
134
|
+
4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.3.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.
|
|
137
|
+
remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.3.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.
|
|
142
|
+
To update the theme, change the version tag in the `remote_theme` value (e.g., `@v5.2.0` to `@v5.3.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:
|
|
@@ -331,7 +347,7 @@ conference:
|
|
|
331
347
|
|
|
332
348
|
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`.
|
|
333
349
|
|
|
334
|
-
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
|
|
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, set `pwa_hide: true` on its link.
|
|
335
351
|
|
|
336
352
|
```yaml
|
|
337
353
|
conference:
|
|
@@ -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
|
|
@@ -543,9 +567,15 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
|
|
|
543
567
|
# Theme color for the PWA (default: Bootstrap primary color, #0d6efd)
|
|
544
568
|
theme_color: "#0d6efd"
|
|
545
569
|
|
|
570
|
+
# Theme color in dark mode (default: theme_color)
|
|
571
|
+
theme_color_dark: "#0a58ca"
|
|
572
|
+
|
|
546
573
|
# Background color for the PWA (default: white, #ffffff)
|
|
547
574
|
background_color: "#ffffff"
|
|
548
575
|
|
|
576
|
+
# Banner asking visitors on phones and tablets to install the app (default: true)
|
|
577
|
+
install_banner: true
|
|
578
|
+
|
|
549
579
|
# PWA icons configuration
|
|
550
580
|
icons:
|
|
551
581
|
- img: "icons/icon-192.png"
|
|
@@ -586,6 +616,8 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
|
|
|
586
616
|
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
617
|
- [PWA Asset Generator](https://github.com/onderceylan/pwa-asset-generator)
|
|
588
618
|
|
|
619
|
+
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.
|
|
620
|
+
|
|
589
621
|
> [!NOTE]
|
|
590
622
|
> 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
623
|
|
|
@@ -605,6 +637,7 @@ To define available tracks, add the `tracks` property under the `talks` property
|
|
|
605
637
|
- `info` (blue)
|
|
606
638
|
- `light` (white)
|
|
607
639
|
- `dark` (dark grey)
|
|
640
|
+
- 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
641
|
|
|
609
642
|
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
643
|
|
|
@@ -622,6 +655,7 @@ conference:
|
|
|
622
655
|
tracks:
|
|
623
656
|
- name: Track A
|
|
624
657
|
color: info
|
|
658
|
+
icon: circle-fill
|
|
625
659
|
- name: Track B
|
|
626
660
|
color: success
|
|
627
661
|
|
|
@@ -708,16 +742,18 @@ The map is based on the [Leaflet](https://leafletjs.com/) JavaScript library. To
|
|
|
708
742
|
```javascript
|
|
709
743
|
// assets/js/maps/venue.js
|
|
710
744
|
export default function (map) {
|
|
745
|
+
L.polygon([[47.3751, 8.5274], [47.3755, 8.5279], [47.3758, 8.5273]], {
|
|
746
|
+
className: 'map-area'
|
|
747
|
+
}).addTo(map);
|
|
748
|
+
|
|
711
749
|
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
|
-
})
|
|
750
|
+
icon: L.divIcon({ className: 'map-label', html: 'Main Station', iconSize: null })
|
|
717
751
|
}).addTo(map);
|
|
718
752
|
}
|
|
719
753
|
```
|
|
720
754
|
|
|
755
|
+
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.
|
|
756
|
+
|
|
721
757
|
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
758
|
|
|
723
759
|
### Program Page
|
|
@@ -948,7 +984,7 @@ live:
|
|
|
948
984
|
|
|
949
985
|
### Links
|
|
950
986
|
|
|
951
|
-
Links are used at different locations throughout the theme: They can either be used in the configuration file (for the landing page
|
|
987
|
+
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
988
|
|
|
953
989
|
- the text to show (`name`),
|
|
954
990
|
- the link address:
|
|
@@ -980,7 +1016,7 @@ Additionally, a _talk_ link can also have the following property:
|
|
|
980
1016
|
|
|
981
1017
|
- `live: true` whereby the link is only shown below the live stream for the given talk in form of buttons.
|
|
982
1018
|
|
|
983
|
-
Additionally, a _navigation bar_
|
|
1019
|
+
Additionally, a _navigation bar_, _main landing page_, _info bar_ or _info modal_ link can also have the following properties:
|
|
984
1020
|
|
|
985
1021
|
- `live: true` making the link only visible during the conference and adds a live indication.
|
|
986
1022
|
- The link is only shown if `name` is set. If `name` is an empty string, "Live Stream" is shown instead.
|
|
@@ -1102,6 +1138,42 @@ While offering the most flexibility, this setup requires several steps:
|
|
|
1102
1138
|
// ...
|
|
1103
1139
|
```
|
|
1104
1140
|
|
|
1141
|
+
### Styling Hooks
|
|
1142
|
+
|
|
1143
|
+
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:
|
|
1144
|
+
|
|
1145
|
+
| Class | Element |
|
|
1146
|
+
|---|---|
|
|
1147
|
+
| **Talks** | |
|
|
1148
|
+
| `talk-list` | List of talks in the talk overview or on a speaker or room page (contains one `talk-item` per talk) |
|
|
1149
|
+
| `talk-item` | Talk in such a list |
|
|
1150
|
+
| `talk-title` | Title of a talk |
|
|
1151
|
+
| `talk-speakers` | Speakers of a talk (contains one `speaker-name` per speaker) |
|
|
1152
|
+
| `talk-info` | Time, room and duration of a talk (contains `talk-time`, `room-name` and `talk-duration`) |
|
|
1153
|
+
| `talk-time` | Start time of a talk |
|
|
1154
|
+
| `talk-duration` | Duration of a talk |
|
|
1155
|
+
| `track-name` | Name of a track |
|
|
1156
|
+
| `talk-tag` | Tag of a talk |
|
|
1157
|
+
| **Speakers and rooms** | |
|
|
1158
|
+
| `speaker-name` | Name of a speaker |
|
|
1159
|
+
| `room-name` | Name of a room |
|
|
1160
|
+
| **Pages** | |
|
|
1161
|
+
| `home-header` | Header box of the home page |
|
|
1162
|
+
| `page-label` | Label above the title of a speaker page (_Speaker_) |
|
|
1163
|
+
| `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_) |
|
|
1164
|
+
| `link-item` | Link in such a list |
|
|
1165
|
+
| `back-link` | Link back to the overview or program at the end of a talk or speaker page |
|
|
1166
|
+
| `consent-button` | Button to load an external map or video |
|
|
1167
|
+
|
|
1168
|
+
For example, to set speakers in italics:
|
|
1169
|
+
|
|
1170
|
+
```scss
|
|
1171
|
+
.talk-speakers,
|
|
1172
|
+
.speaker-name {
|
|
1173
|
+
font-style: italic;
|
|
1174
|
+
}
|
|
1175
|
+
```
|
|
1176
|
+
|
|
1105
1177
|
### Icons
|
|
1106
1178
|
|
|
1107
1179
|
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 +1209,10 @@ To add custom JavaScript, edit the `assets/js/main.js` file in your project. Thi
|
|
|
1137
1209
|
- `conference.stream`: Live stream modal
|
|
1138
1210
|
- `conference.infobox`: Dismissal of information boxes and modals
|
|
1139
1211
|
- `conference.darkmode`: Dark mode according to the system preference
|
|
1140
|
-
- `conference.pwa`: Service worker registration (if PWA is enabled)
|
|
1212
|
+
- `conference.pwa`: Service worker registration and install banner (if PWA is enabled)
|
|
1141
1213
|
- `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
1214
|
- `conference.awaitReady()`: Promise-based initialization helper
|
|
1143
|
-
- `window.bootstrap`: Bootstrap components (Alert, Collapse, Dropdown, Modal, Tab)
|
|
1215
|
+
- `window.bootstrap`: Bootstrap components (Alert, Collapse, Dropdown, Modal, Offcanvas, Tab)
|
|
1144
1216
|
- `window.L`: Leaflet map library (once the map is loaded)
|
|
1145
1217
|
|
|
1146
1218
|
**Example Usage:**
|
|
@@ -1196,7 +1268,7 @@ _js/
|
|
|
1196
1268
|
├── modal.js # Links in a modal
|
|
1197
1269
|
├── nowline.js # Line at the current time in the program
|
|
1198
1270
|
├── program.js # Program days as tabs
|
|
1199
|
-
├── pwa.js # Service worker registration
|
|
1271
|
+
├── pwa.js # Service worker registration, install banner
|
|
1200
1272
|
└── stream.js # Live stream modal
|
|
1201
1273
|
```
|
|
1202
1274
|
|
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: "
|
|
4
|
-
css/map.bundle.css: "
|
|
5
|
-
js/conference.bundle.js: "
|
|
2
|
+
css/conference-only.bundle.css: "0f2b955414"
|
|
3
|
+
css/conference.bundle.css: "092fd2d2b1"
|
|
4
|
+
css/map.bundle.css: "3104fafcdf"
|
|
5
|
+
js/conference.bundle.js: "102f0af456"
|
data/_data/lang.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
version:
|
|
1
|
+
version: 15
|
|
2
2
|
|
|
3
3
|
en:
|
|
4
4
|
pronoun:
|
|
@@ -15,6 +15,7 @@ en:
|
|
|
15
15
|
main: Main navigation
|
|
16
16
|
toggle: Toggle navigation menu
|
|
17
17
|
skip_to_content: Skip to content
|
|
18
|
+
more: More
|
|
18
19
|
live:
|
|
19
20
|
live: Live
|
|
20
21
|
stream: Live Stream
|
|
@@ -64,6 +65,19 @@ en:
|
|
|
64
65
|
title: Talk
|
|
65
66
|
editions:
|
|
66
67
|
title: Edition
|
|
68
|
+
pwa:
|
|
69
|
+
subtitle: Program offline on your home screen
|
|
70
|
+
install: Install
|
|
71
|
+
title: Install the app
|
|
72
|
+
ios:
|
|
73
|
+
share: "Tap the Share button in the browser's toolbar (if hidden, behind “⋯”)."
|
|
74
|
+
add: "Scroll down and tap “Add to Home Screen”."
|
|
75
|
+
confirm: "Tap “Add”."
|
|
76
|
+
android:
|
|
77
|
+
menu: "Tap the menu button “⋮” in the browser's toolbar."
|
|
78
|
+
add: "Tap “Install app” or “Add to Home screen”."
|
|
79
|
+
confirm: "Tap “Install”."
|
|
80
|
+
done: Then open the app from its icon, also offline.
|
|
67
81
|
|
|
68
82
|
de:
|
|
69
83
|
pronoun:
|
|
@@ -80,6 +94,7 @@ de:
|
|
|
80
94
|
main: Hauptnavigation
|
|
81
95
|
toggle: Navigationsmenü umschalten
|
|
82
96
|
skip_to_content: Zum Inhalt springen
|
|
97
|
+
more: Mehr
|
|
83
98
|
live:
|
|
84
99
|
live: Live
|
|
85
100
|
stream: Live Stream
|
|
@@ -129,6 +144,19 @@ de:
|
|
|
129
144
|
title: Vortrag
|
|
130
145
|
editions:
|
|
131
146
|
title: Ausgabe
|
|
147
|
+
pwa:
|
|
148
|
+
subtitle: Programm offline als App
|
|
149
|
+
install: Installieren
|
|
150
|
+
title: App installieren
|
|
151
|
+
ios:
|
|
152
|
+
share: "Tippen Sie in der Symbolleiste des Browsers auf „Teilen“ (falls nicht sichtbar, hinter „⋯“)."
|
|
153
|
+
add: "Scrollen Sie nach unten und tippen Sie auf „Zum Home-Bildschirm“."
|
|
154
|
+
confirm: "Tippen Sie auf „Hinzufügen“."
|
|
155
|
+
android:
|
|
156
|
+
menu: "Tippen Sie in der Symbolleiste des Browsers auf das Menü „⋮“."
|
|
157
|
+
add: "Tippen Sie auf „App installieren“ oder „Zum Startbildschirm hinzufügen“."
|
|
158
|
+
confirm: "Tippen Sie auf „Installieren“."
|
|
159
|
+
done: Öffnen Sie die App danach über ihr Symbol, auch offline.
|
|
132
160
|
|
|
133
161
|
fr:
|
|
134
162
|
pronoun:
|
|
@@ -145,6 +173,7 @@ fr:
|
|
|
145
173
|
main: Navigation principale
|
|
146
174
|
toggle: Basculer le menu de navigation
|
|
147
175
|
skip_to_content: Aller au contenu
|
|
176
|
+
more: Plus
|
|
148
177
|
live:
|
|
149
178
|
live: En direct
|
|
150
179
|
stream: Diffusion en direct
|
|
@@ -194,6 +223,19 @@ fr:
|
|
|
194
223
|
title: Présentation
|
|
195
224
|
editions:
|
|
196
225
|
title: Édition
|
|
226
|
+
pwa:
|
|
227
|
+
subtitle: Programme hors ligne sur l'écran d'accueil
|
|
228
|
+
install: Installer
|
|
229
|
+
title: Installer l'application
|
|
230
|
+
ios:
|
|
231
|
+
share: "Touchez le bouton « Partager » dans la barre d'outils du navigateur (s'il est masqué, sous « ⋯ »)."
|
|
232
|
+
add: "Faites défiler vers le bas et touchez « Sur l'écran d'accueil »."
|
|
233
|
+
confirm: "Touchez « Ajouter »."
|
|
234
|
+
android:
|
|
235
|
+
menu: "Touchez le menu « ⋮ » dans la barre d'outils du navigateur."
|
|
236
|
+
add: "Touchez « Installer l'application » ou « Ajouter à l'écran d'accueil »."
|
|
237
|
+
confirm: "Touchez « Installer »."
|
|
238
|
+
done: Ouvrez ensuite l'application depuis son icône, même hors ligne.
|
|
197
239
|
|
|
198
240
|
pt:
|
|
199
241
|
pronoun:
|
|
@@ -210,6 +252,7 @@ pt:
|
|
|
210
252
|
main: Navegação principal
|
|
211
253
|
toggle: Alternar menu de navegação
|
|
212
254
|
skip_to_content: Ir para o conteúdo
|
|
255
|
+
more: Mais
|
|
213
256
|
live:
|
|
214
257
|
live: Ao vivo
|
|
215
258
|
stream: Transmissão ao vivo
|
|
@@ -259,3 +302,16 @@ pt:
|
|
|
259
302
|
title: Apresentação
|
|
260
303
|
editions:
|
|
261
304
|
title: Edição
|
|
305
|
+
pwa:
|
|
306
|
+
subtitle: Programação offline na tela inicial
|
|
307
|
+
install: Instalar
|
|
308
|
+
title: Instalar o app
|
|
309
|
+
ios:
|
|
310
|
+
share: "Toque no botão “Compartilhar” na barra de ferramentas do navegador (se não estiver visível, em “⋯”)."
|
|
311
|
+
add: "Role para baixo e toque em “Adicionar à Tela de Início”."
|
|
312
|
+
confirm: "Toque em “Adicionar”."
|
|
313
|
+
android:
|
|
314
|
+
menu: "Toque no menu “⋮” na barra de ferramentas do navegador."
|
|
315
|
+
add: "Toque em “Instalar app” ou “Adicionar à tela inicial”."
|
|
316
|
+
confirm: "Toque em “Instalar”."
|
|
317
|
+
done: Depois, abra o app pelo ícone, também offline.
|
data/_includes/checks.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{%- assign errors = '' | split: ',' -%}
|
|
2
2
|
|
|
3
|
-
{%- if site.data.lang.version !=
|
|
3
|
+
{%- if site.data.lang.version != 15 -%}
|
|
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>
|
data/_includes/footer.html
CHANGED
data/_includes/get_day_time.html
CHANGED
|
@@ -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
|
|
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
|
|
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 -%}
|
data/_includes/get_link.html
CHANGED
|
@@ -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,5 +1,7 @@
|
|
|
1
1
|
{%- assign live_label = site.data.lang[site.conference.lang].live.live | default: "Live" -%}
|
|
2
|
+
{%- unless include.icon_only -%}
|
|
2
3
|
<span class="live-button py-1 px-2 rounded {{ include.class }}">
|
|
4
|
+
{%- endunless -%}
|
|
3
5
|
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 11 11" class="live-icon align-baseline bi" aria-hidden="true" focusable="false" role="img">
|
|
4
6
|
<!--
|
|
5
7
|
The following SVG icon is based on https://github.com/twbs/icons/blob/main/icons/rss.svg
|
|
@@ -10,5 +12,7 @@
|
|
|
10
12
|
<path class="live-icon-arc-medium" d="M 0,5 C 0,4.4477153 0.4477153,4 1,4 4.3137085,4 7,6.6862915 7,10 7,11.333333 5,11.333333 5,10 5,7.790861 3.209139,6 1,6 0.4477153,6 0,5.5522847 0,5" />
|
|
11
13
|
<path class="live-icon-arc-large" d="M 0,1 C 0,0.4477153 0.4477153,0 1,0 6.523,0 11,4.477 11,10 11,11.333333 9,11.333333 9,10 9,5.581722 5.418278,2 1,2 0.4477153,2 0,1.5522847 0,1" />
|
|
12
14
|
</svg>
|
|
15
|
+
{%- unless include.icon_only -%}
|
|
13
16
|
<span>{{ live_label }}</span>
|
|
14
|
-
</span>
|
|
17
|
+
</span>
|
|
18
|
+
{%- endunless -%}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{%- comment -%}
|
|
2
|
+
States of the app's tab bar (pwa_states, e.g. "4-live": four tabs, during
|
|
3
|
+
live) in which the entry at pwa_index is a tab or in "More", given the
|
|
4
|
+
tabs per state (pwa_counts), as attributes: pwa_tab_attr and
|
|
5
|
+
pwa_more_attr, e.g. ' data-pwa-in="5 5-live"' and ' data-pwa-in="4
|
|
6
|
+
4-live"'; empty where it is in all states.
|
|
7
|
+
{%- endcomment -%}
|
|
8
|
+
{%- assign pwa_tab_in = "" | split: "" -%}
|
|
9
|
+
{%- assign pwa_more_in = "" | split: "" -%}
|
|
10
|
+
{%- for pwa_count in pwa_counts -%}
|
|
11
|
+
{%- if pwa_index < pwa_count -%}
|
|
12
|
+
{%- assign pwa_tab_in = pwa_tab_in | push: pwa_states[forloop.index0] -%}
|
|
13
|
+
{%- else -%}
|
|
14
|
+
{%- assign pwa_more_in = pwa_more_in | push: pwa_states[forloop.index0] -%}
|
|
15
|
+
{%- endif -%}
|
|
16
|
+
{%- endfor -%}
|
|
17
|
+
|
|
18
|
+
{%- assign pwa_tab_attr = "" -%}
|
|
19
|
+
{%- if pwa_more_in.size > 0 -%}
|
|
20
|
+
{%- assign pwa_tab_attr = pwa_tab_in | join: " " | prepend: ' data-pwa-in="' | append: '"' -%}
|
|
21
|
+
{%- endif -%}
|
|
22
|
+
|
|
23
|
+
{%- assign pwa_more_attr = "" -%}
|
|
24
|
+
{%- if pwa_tab_in.size > 0 -%}
|
|
25
|
+
{%- assign pwa_more_attr = pwa_more_in | join: " " | prepend: ' data-pwa-in="' | append: '"' -%}
|
|
26
|
+
{%- endif -%}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{% assign track_color = track_prop.color | default: 'light' %}
|
|
2
|
-
<li class="
|
|
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="
|
|
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
|
|
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 -%}
|
data/_includes/header.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta charset="utf-8" />
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
8
8
|
|
|
9
9
|
{% include get_page_title.html -%}
|
|
10
10
|
<title>
|
|
@@ -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 -%}
|
data/_includes/icon.html
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
{%- comment -%}
|
|
2
2
|
Inline Bootstrap Icon as SVG, rendered at build time (no icon font), e.g.
|
|
3
3
|
{% include icon.html name="clock" class="me-1" %}. Unknown names render nothing.
|
|
4
|
+
With fill=true, its filled variant where there is one (e.g. clock-fill).
|
|
4
5
|
{%- endcomment -%}
|
|
5
6
|
{%- unless icon_names -%}
|
|
6
7
|
{%- capture icon_names -%}{%- include icons/_names.txt -%}{%- endcapture -%}
|
|
7
8
|
{%- endunless -%}
|
|
8
9
|
|
|
9
|
-
{%- assign
|
|
10
|
-
{%- if include.
|
|
10
|
+
{%- assign icon_name = include.name -%}
|
|
11
|
+
{%- if include.fill -%}
|
|
12
|
+
{%- assign icon_key = include.name | append: "-fill" | prepend: "," | append: "," -%}
|
|
13
|
+
{%- if icon_names contains icon_key -%}
|
|
14
|
+
{%- assign icon_name = include.name | append: "-fill" -%}
|
|
15
|
+
{%- endif -%}
|
|
16
|
+
{%- endif -%}
|
|
17
|
+
|
|
18
|
+
{%- assign icon_key = icon_name | prepend: "," | append: "," -%}
|
|
19
|
+
{%- if icon_name and icon_names contains icon_key -%}
|
|
11
20
|
{%- if include.class -%}
|
|
12
21
|
{%- assign icon_class = include.class | prepend: " " -%}
|
|
13
22
|
{%- else -%}
|
|
14
23
|
{%- assign icon_class = "" -%}
|
|
15
24
|
{%- endif -%}
|
|
16
|
-
{%- include icons/{{
|
|
25
|
+
{%- include icons/{{ icon_name }}.svg -%}
|
|
17
26
|
{%- endif -%}
|
data/_includes/infobox.html
CHANGED
|
@@ -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
|
-
|
|
106
|
-
{
|
|
107
|
-
|
|
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
|
|