jekyll-theme-conference 5.2.0 → 5.4.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 +100 -50
- data/UPGRADE_GUIDE.md +16 -1
- data/_data/conference_assets.yml +3 -3
- data/_data/lang.yml +67 -39
- data/_includes/checks.html +9 -1
- data/_includes/conference_config.json +4 -4
- data/_includes/embed_consent.html +1 -1
- data/_includes/footer.html +3 -1
- data/_includes/get_edition.html +15 -0
- data/_includes/get_link.html +1 -1
- data/_includes/get_link_active.html +3 -1
- data/_includes/get_link_tag_streaming.html +22 -4
- data/_includes/get_live_icon.html +5 -1
- data/_includes/get_menu.html +2 -2
- data/_includes/get_page_title.html +2 -2
- data/_includes/get_pwa_icon.html +10 -0
- data/_includes/get_pwa_in.html +26 -0
- data/_includes/header.html +4 -5
- data/_includes/icon.html +12 -3
- data/_includes/infobox.html +6 -6
- data/_includes/list_header_pwa.html +15 -11
- data/_includes/modal_link.html +4 -3
- data/_includes/modal_live.html +5 -52
- data/_includes/navbar.html +4 -3
- data/_includes/navbar_pwa.html +200 -21
- data/_includes/pwa_install.html +4 -4
- data/_includes/pwa_toasts.html +39 -0
- data/_includes/show_link_buttons.html +1 -1
- data/_includes/show_menu_items.html +5 -3
- data/_includes/show_stream.html +63 -0
- data/_layouts/htaccess.html +20 -7
- data/_layouts/json-site.html +15 -1
- data/_layouts/live.html +26 -0
- data/_layouts/location.html +1 -1
- data/_layouts/manifest.html +12 -10
- data/_layouts/not-found.html +23 -0
- data/_layouts/program.html +1 -1
- data/_layouts/speaker.html +1 -1
- data/_layouts/sw.js +141 -29
- data/_sass/bootstrap.scss +1 -0
- data/_sass/theme.scss +236 -107
- data/assets/css/conference-only.bundle.css +1 -1
- data/assets/css/conference.bundle.css +1 -1
- data/assets/js/conference.bundle.js +2 -2
- metadata +7 -3
- data/_includes/pwa_banner.html +0 -29
- data/_layouts/stream-overview.html +0 -45
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2148bd55f7b570f144c64f45ef11ef33d3d5be152f7dfbfde013f430c1540d6f
|
|
4
|
+
data.tar.gz: 9e944b7a6fdbad5b1a1338821ed1b95dd2c928ec6ab45d95c24ff76aac86b023
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7aa2c707e6871be48c78cc21d702a978cb5548adf4a270393761bebfe43eb4f16ce4943f7266ede4e3064390accca9f8a3f13a51173c5fd7d0d9db9140d3fd95
|
|
7
|
+
data.tar.gz: 4fb7645b059c7568e9f087366e8b2a6b0e91d0bcf95eaf4e6201b8d52e5157c8b28c37c3cb0ca0325c03d3c51f9164f6188d155f00d473a6a4591ce75a92508e
|
data/README.md
CHANGED
|
@@ -131,15 +131,15 @@ To install:
|
|
|
131
131
|
bundle
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.
|
|
134
|
+
4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.4.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
|
135
135
|
|
|
136
136
|
```yaml
|
|
137
|
-
remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.
|
|
137
|
+
remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.4.0"
|
|
138
138
|
```
|
|
139
139
|
|
|
140
140
|
5. Continue with the [_Setup_](#setup) section below to customize the theme and add content for your conference.
|
|
141
141
|
|
|
142
|
-
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.3.0` to `@v5.4.0`).
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
## Setup
|
|
@@ -347,7 +347,7 @@ conference:
|
|
|
347
347
|
|
|
348
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`.
|
|
349
349
|
|
|
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
|
|
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.
|
|
351
351
|
|
|
352
352
|
```yaml
|
|
353
353
|
conference:
|
|
@@ -524,6 +524,8 @@ To help users navigate the program during the conference, a _Live_ indication ca
|
|
|
524
524
|
|
|
525
525
|
This can be further extended if some talks have an associated live stream: When clicking one of the live indications, a modal will open containing the corresponding embedded live stream. The URL to the live stream has to be set via `live` property in each room (see the [_Content_](#content) > [_Rooms_](#rooms) section below). Instead of opening the modal an external link can also be used.
|
|
526
526
|
|
|
527
|
+
The stream modal can also be shown as a page: create `live/index.md` with `layout: live` (with [editions](#editions), in the edition's folder). Its address names the room shown, e.g. `/live/?room=Room+A`. If the page exists, the installed app (see [_Progressive Web App (PWA)_](#progressive-web-app-pwa)) opens it instead of the modal for live indications and the _Live_ tab.
|
|
528
|
+
|
|
527
529
|
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
|
|
528
530
|
|
|
529
531
|
- optionally, how long a pause between two consecutive talks has to be for the live indication to pause (`stop`, default: `240`),
|
|
@@ -556,7 +558,7 @@ conference:
|
|
|
556
558
|
|
|
557
559
|
### Progressive Web App (PWA)
|
|
558
560
|
|
|
559
|
-
The theme includes built-in support for Progressive Web App (PWA) functionality, allowing your conference website to be installed on users' devices and work offline. Once a visitor opened the site, all pages (program, talks, speakers, rooms, …) and all files below `assets/` (stylesheets, scripts, images, fonts) are available offline. Documents (`documents/`, with [editions](#editions) `<id>/documents/`) and map tiles are not. Pages and data
|
|
561
|
+
The theme includes built-in support for Progressive Web App (PWA) functionality, allowing your conference website to be installed on users' devices and work offline. Once a visitor opened the site, all pages (program, talks, speakers, rooms, …) and all files below `assets/` (stylesheets, scripts, images, fonts) are available offline. Documents (`documents/`, with [editions](#editions) `<id>/documents/`) and map tiles are not. Pages and data show the stored copy right away and are updated in the background. A prompt informs the user that new content is available. PWA functionality is disabled by default. To enable it, multiple manual steps are necessary to add the necessary files:
|
|
560
562
|
|
|
561
563
|
1. Enable and optionally customize the functionality in your `_config.yml`:
|
|
562
564
|
```yaml
|
|
@@ -567,11 +569,14 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
|
|
|
567
569
|
# Theme color for the PWA (default: Bootstrap primary color, #0d6efd)
|
|
568
570
|
theme_color: "#0d6efd"
|
|
569
571
|
|
|
572
|
+
# Theme color in dark mode (default: theme_color)
|
|
573
|
+
theme_color_dark: "#0a58ca"
|
|
574
|
+
|
|
570
575
|
# Background color for the PWA (default: white, #ffffff)
|
|
571
576
|
background_color: "#ffffff"
|
|
572
577
|
|
|
573
|
-
#
|
|
574
|
-
|
|
578
|
+
# Toast asking visitors on phones and tablets to install the app (default: true)
|
|
579
|
+
install_toast: true
|
|
575
580
|
|
|
576
581
|
# PWA icons configuration
|
|
577
582
|
icons:
|
|
@@ -612,8 +617,17 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
|
|
|
612
617
|
|
|
613
618
|
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:
|
|
614
619
|
- [PWA Asset Generator](https://github.com/onderceylan/pwa-asset-generator)
|
|
620
|
+
5. With [streaming](#live-indications--streaming), create the live page `live/index.md` (with [editions](#editions), in the edition's folder) with the following content, else the app opens the stream as a modal covering its navigation bar:
|
|
621
|
+
```yaml
|
|
622
|
+
---
|
|
623
|
+
layout: live
|
|
624
|
+
---
|
|
625
|
+
```
|
|
615
626
|
|
|
616
|
-
|
|
627
|
+
Short notices of the app appear as a toast at the bottom of the page (in the app above its navigation bar), one at a time:
|
|
628
|
+
|
|
629
|
+
- On phones and tablets (iOS and Android), a toast invites visitors to install the app. Its button opens the browser's install prompt where available (Chrome on Android), otherwise a panel at the bottom explaining in three steps how to add the app to the home screen. Closing the toast hides it for 30 days. It is not shown on desktops, within the installed app or on past [editions](#editions). Set `install_toast: false` to turn it off.
|
|
630
|
+
- Within the app, once a new build of the site changed (e.g. a schedule change), a toast offers to reload all modified pages. Rebuilding the site alone does not count as a change.
|
|
617
631
|
|
|
618
632
|
> [!NOTE]
|
|
619
633
|
> 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.
|
|
@@ -774,24 +788,11 @@ show_alltimes: true
|
|
|
774
788
|
|
|
775
789
|
### Editions
|
|
776
790
|
|
|
777
|
-
One site can hold several editions of a conference, e.g. the current one and past ones as archive. Every edition lives below its own folder (`/2026/`, `/2025/`, …)
|
|
791
|
+
One site can hold several editions of a conference, e.g. the current one and past ones as an archive. Every edition lives below its own folder (`/2026/`, `/2025/`, …) and the site's root forwards to the current edition. Without `editions`, the site holds a single edition as described in the rest of this document.
|
|
778
792
|
|
|
779
|
-
|
|
793
|
+
#### Settings
|
|
780
794
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
| Setting | In `_config.yml` | Per edition |
|
|
784
|
-
|---|---|---|
|
|
785
|
-
| `title`, `description` | Jekyll, top level | yes |
|
|
786
|
-
| `url`, `baseurl`, `timezone` | Jekyll, top level | no |
|
|
787
|
-
| `meta.link_preview`, `meta.schema_org` | `conference` | yes |
|
|
788
|
-
| `navigation.logo`, `navigation.links`, `navigation.breakpoint`, `navigation.editions` | `conference` | yes |
|
|
789
|
-
| `info.bars`, `info.modals` | `conference` | yes |
|
|
790
|
-
| `talks.tracks`, `talks.tags` | `conference` | yes |
|
|
791
|
-
| `lang`, `custom_style`, `show_errors`, `pwa` | `conference` | no |
|
|
792
|
-
| `live` | `conference` | no, current edition only |
|
|
793
|
-
|
|
794
|
-
Settings in a page's Front Matter (e.g. of the [_Landing Page_](#landing-page) or the [_Program Page_](#program-page)) belong to its edition anyway, as every edition has its own pages.
|
|
795
|
+
List the editions in `_config.yml` under `conference.editions`. Each edition's `id` names its folders and its `name` labels it in the menu to switch between editions (default: its `id`). The current edition is the first one with `current: true`, or else the first one of the list.
|
|
795
796
|
|
|
796
797
|
```yaml
|
|
797
798
|
conference:
|
|
@@ -808,7 +809,35 @@ conference:
|
|
|
808
809
|
color: warning
|
|
809
810
|
```
|
|
810
811
|
|
|
811
|
-
|
|
812
|
+
An edition inherits the site's settings and can override some of them. An override replaces that one setting as a whole and keeps all others, e.g. an edition with its own `navigation.links` keeps the site's `navigation.logo`.
|
|
813
|
+
|
|
814
|
+
| Setting | In `_config.yml` | Per edition |
|
|
815
|
+
|---|---|---|
|
|
816
|
+
| `title`, `description` | Jekyll, top level | yes |
|
|
817
|
+
| `url`, `baseurl`, `timezone` | Jekyll, top level | no |
|
|
818
|
+
| `meta.link_preview`, `meta.schema_org` | `conference` | yes |
|
|
819
|
+
| `navigation.logo`, `navigation.links`, `navigation.breakpoint`, `navigation.editions` | `conference` | yes |
|
|
820
|
+
| `info.bars`, `info.modals` | `conference` | yes |
|
|
821
|
+
| `talks.tracks`, `talks.tags` | `conference` | yes |
|
|
822
|
+
| `lang`, `custom_style`, `show_errors`, `pwa` | `conference` | no |
|
|
823
|
+
| `live` | `conference` | no, current edition only |
|
|
824
|
+
|
|
825
|
+
#### Files
|
|
826
|
+
|
|
827
|
+
Each edition has its own pages, talks, speakers, rooms and schedule, placed in folders named after its `id`:
|
|
828
|
+
|
|
829
|
+
```
|
|
830
|
+
index.md layout: editions (forwards to the current edition)
|
|
831
|
+
2026/index.md layout: home
|
|
832
|
+
2026/program/index.md layout: program (likewise talks/, speakers/, location/, …)
|
|
833
|
+
2026/documents/ files linked from talks and speakers (slides/, bio/, …)
|
|
834
|
+
_talks/2026/ talks (likewise _speakers/2026/, _rooms/2026/)
|
|
835
|
+
_data/programs/2026.yml schedule
|
|
836
|
+
```
|
|
837
|
+
|
|
838
|
+
As every edition has its own pages, the settings in a page's Front Matter (e.g. of the [_Landing Page_](#landing-page) or the [_Program Page_](#program-page)) apply to that edition only.
|
|
839
|
+
|
|
840
|
+
Every file must also know which edition it belongs to. Instead of setting `edition` in each file's Front Matter, set it once per folder with [`defaults`](https://jekyllrb.com/docs/configuration/front-matter-defaults/) in `_config.yml`. Each edition needs two entries, one for its pages and one for its talks, speakers and rooms, the latter also setting their permalink. Add them next to the `defaults` that set the layouts of the collections (see [_Collection URLs_](#collection-urls)), don't replace those:
|
|
812
841
|
|
|
813
842
|
```yaml
|
|
814
843
|
defaults:
|
|
@@ -823,22 +852,15 @@ defaults:
|
|
|
823
852
|
permalink: /2026/:collection/:title/
|
|
824
853
|
```
|
|
825
854
|
|
|
826
|
-
|
|
855
|
+
#### Behavior
|
|
827
856
|
|
|
828
|
-
|
|
857
|
+
- **Per edition:** Talks, speakers and rooms are looked up within their edition only, so names may repeat across editions (e.g. a speaker attending every year). Links with `relative_url` point into the page's edition, e.g. `/talks/` on a page of the 2025 edition leads to `/2025/talks/`.
|
|
858
|
+
- **Current edition only:** Live indications, live streams and the offline app (PWA). There is one app for all editions: it is named after the site's `title` and starts at the site's root, i.e. at the current edition.
|
|
859
|
+
- **Shared by all editions:** Files below `assets/` (styles, scripts, images) and `_sass/`.
|
|
829
860
|
|
|
830
|
-
|
|
831
|
-
index.md layout: editions (forwards to the current edition)
|
|
832
|
-
2026/index.md layout: home
|
|
833
|
-
2026/program/index.md layout: program (likewise talks/, speakers/, location/, …)
|
|
834
|
-
2026/documents/ files of links (slides/, bio/, …)
|
|
835
|
-
_talks/2026/ talks (likewise _speakers/2026/, _rooms/2026/)
|
|
836
|
-
_data/programs/2026.yml schedule
|
|
837
|
-
```
|
|
838
|
-
|
|
839
|
-
Talks, speakers and rooms are looked up within their edition only, so names may repeat across editions (e.g. a speaker attending every year). Links with `relative_url` point into the page's edition, e.g. `/program/` to `/2026/program/`. Live indications, live streams and the offline app (PWA) cover the current edition only. To point visitors of a past edition to the current one, give it an info bar (see [_Information Bars & Modals_](#information-bars--modals)), e.g. `info: {bars: [{title: Archive, color: secondary, text: "Go to the [current edition](/2026/)."}]}` in its `editions` entry. Files below `assets/` (styles, scripts, images) and `_sass/` are shared by all editions.
|
|
861
|
+
#### Redirects
|
|
840
862
|
|
|
841
|
-
|
|
863
|
+
Addresses outside of the editions' folders, e.g. a former `/program/`, show the site's 404 page. To forward them to the current edition on an Apache web server, create a `.htaccess` file in the root of your project:
|
|
842
864
|
|
|
843
865
|
```yaml
|
|
844
866
|
---
|
|
@@ -846,7 +868,32 @@ layout: htaccess
|
|
|
846
868
|
---
|
|
847
869
|
```
|
|
848
870
|
|
|
849
|
-
It forwards
|
|
871
|
+
It forwards every address that doesn't exist on its own but does exist in the current edition, e.g. `/program/` to `/2026/program/`, and adapts by itself once the current edition changes. With a page for missing addresses (`404.md`, see [_Pages_](#pages)), Apache shows it for addresses that exist nowhere. Below the Front Matter, you can add your own rules. It assumes the site lies at `baseurl` below the web server's document root. Other hosts (e.g. GitHub Pages) ignore the file and need their own redirects.
|
|
872
|
+
|
|
873
|
+
#### Setup
|
|
874
|
+
|
|
875
|
+
**First edition.** To turn a site with a single edition into the first of several editions (here `2026`):
|
|
876
|
+
|
|
877
|
+
1. In `_config.yml`, list the edition under `conference.editions` with `current: true` and add its two entries to `defaults` (see [_Settings_](#settings) and [_Files_](#files)). Settings that differ per edition, e.g. `title`, can move into the edition.
|
|
878
|
+
2. Move the pages and their files into the edition's folder: `index.md`, `program/`, `talks/`, `speakers/`, `location/`, … and `documents/` to `2026/`.
|
|
879
|
+
3. Move the talks, speakers and rooms into the edition's subfolders: `_talks/*.md` to `_talks/2026/`, likewise for `_speakers/` and `_rooms/`.
|
|
880
|
+
4. Move the schedule `_data/program.yml` to `_data/programs/2026.yml`.
|
|
881
|
+
5. Create a new `index.md` in the root with `layout: editions` as its only Front Matter.
|
|
882
|
+
6. Optionally, add a `.htaccess` file forwarding addresses outside the editions' folders to the current edition (see [_Redirects_](#redirects)).
|
|
883
|
+
|
|
884
|
+
```bash
|
|
885
|
+
mkdir -p 2026 _talks/2026 _speakers/2026 _rooms/2026 _data/programs
|
|
886
|
+
git mv index.md program talks speakers location documents 2026/
|
|
887
|
+
git mv _talks/*.md _talks/2026/
|
|
888
|
+
git mv _speakers/*.md _speakers/2026/
|
|
889
|
+
git mv _rooms/*.md _rooms/2026/
|
|
890
|
+
git mv _data/program.yml _data/programs/2026.yml
|
|
891
|
+
printf -- '---\nlayout: editions\n---\n' > index.md
|
|
892
|
+
```
|
|
893
|
+
|
|
894
|
+
Everything else stays where it is: `assets/`, `_sass/`, the PWA's `manifest.json` and `sw.js`, as well as the declaration of the collections and the `defaults` setting their layouts. Links with `relative_url` need no change, as they point into the page's edition.
|
|
895
|
+
|
|
896
|
+
**Each further edition.** Add it to `conference.editions` and move `current: true` to it, add its two entries to `defaults`, and create its folders as in steps 2 to 4 above: pages below `<id>/`, talks, speakers and rooms below `_talks/<id>/`, `_speakers/<id>/` and `_rooms/<id>/`, and its schedule as `_data/programs/<id>.yml`.
|
|
850
897
|
|
|
851
898
|
|
|
852
899
|
## Content
|
|
@@ -1016,9 +1063,9 @@ Additionally, a _talk_ link can also have the following property:
|
|
|
1016
1063
|
Additionally, a _navigation bar_, _main landing page_, _info bar_ or _info modal_ link can also have the following properties:
|
|
1017
1064
|
|
|
1018
1065
|
- `live: true` making the link only visible during the conference and adds a live indication.
|
|
1019
|
-
- The link is only shown if `name` is set. If `name` is an empty string, "Live
|
|
1020
|
-
- If `name_inactive` is set, its value is used as a placeholder text while the conference is **not** live. If `name_inactive` is an empty string, "Live
|
|
1021
|
-
- If streaming is enabled and any URL property is omitted, a click on the link will open the streaming modal (see section [_Configuration_](#configuration) > [_Live Indications & Streaming_](#live-indications--streaming) above).
|
|
1066
|
+
- The link is only shown if `name` is set. If `name` is an empty string, "Live stream" is shown instead.
|
|
1067
|
+
- If `name_inactive` is set, its value is used as a placeholder text while the conference is **not** live. If `name_inactive` is an empty string, "Live stream" is shown instead.
|
|
1068
|
+
- If streaming is enabled and any URL property is omitted, a click on the link will open the streaming modal, in the installed app the live page if there is one (see section [_Configuration_](#configuration) > [_Live Indications & Streaming_](#live-indications--streaming) above).
|
|
1022
1069
|
- `menu` containing another list of links. This creates a dropdown menu of multiple sublinks, while the URL of the parent link is ignored. The sublinks have the same properties as regular links.
|
|
1023
1070
|
- With `menu: editions`, the dropdown menu lists the [editions](#editions) instead. Without `name`, it is labelled with `navigation.editions.name`, else the page's edition. It is not shown with a single edition.
|
|
1024
1071
|
|
|
@@ -1030,8 +1077,10 @@ The overviews of talks and speakers, the location with its rooms, and the progra
|
|
|
1030
1077
|
- `speakers/index.md` with `layout: speaker-overview`
|
|
1031
1078
|
- `location/index.md` with `layout: location`
|
|
1032
1079
|
- `program/index.md` with `layout: program`
|
|
1080
|
+
- `live/index.md` with `layout: live` (optional, the live stream as a page, see [_Live Indications & Streaming_](#live-indications--streaming))
|
|
1081
|
+
- `404.md` with `layout: not-found` (optional, shown for missing addresses by most hosts)
|
|
1033
1082
|
|
|
1034
|
-
|
|
1083
|
+
Their content can be empty but should contain the `layout` property in the Front Matter header.
|
|
1035
1084
|
|
|
1036
1085
|
Additional static pages can easily be added as files and linked to via navigation bar or main landing page.
|
|
1037
1086
|
|
|
@@ -1161,6 +1210,9 @@ Talks, speakers, rooms and the recurring parts of pages carry a class of their o
|
|
|
1161
1210
|
| `link-item` | Link in such a list |
|
|
1162
1211
|
| `back-link` | Link back to the overview or program at the end of a talk or speaker page |
|
|
1163
1212
|
| `consent-button` | Button to load an external map or video |
|
|
1213
|
+
| **App** (see [_Progressive Web App (PWA)_](#progressive-web-app-pwa)) | |
|
|
1214
|
+
| `pwa-toast` | Notice at the bottom of the page, inviting to install the app or offering an update |
|
|
1215
|
+
| `pwa-toast-button` | Button of such a notice (_Install_, _Update_) |
|
|
1164
1216
|
|
|
1165
1217
|
For example, to set speakers in italics:
|
|
1166
1218
|
|
|
@@ -1200,16 +1252,15 @@ To add custom JavaScript, edit the `assets/js/main.js` file in your project. Thi
|
|
|
1200
1252
|
- `conference.program`: Program days as tabs
|
|
1201
1253
|
- `conference.map`: Map functionality (`getMap()` resolves once the map is loaded, or with `null` without map)
|
|
1202
1254
|
- `conference.modal`: Links (e.g. videos) in a modal
|
|
1203
|
-
- `conference.embed`: Embedded streams on the stream overview page
|
|
1204
1255
|
- `conference.live`: Live indications following the program (incl. `setTime("09:30", "2026-02-20")`, `getTime()`, `pauseTime()`, `continueTime()`, `resetTime()` for testing)
|
|
1205
1256
|
- `conference.nowline`: Line at the current time in the program
|
|
1206
|
-
- `conference.stream`: Live stream modal
|
|
1257
|
+
- `conference.stream`: Live stream modal and page
|
|
1207
1258
|
- `conference.infobox`: Dismissal of information boxes and modals
|
|
1208
1259
|
- `conference.darkmode`: Dark mode according to the system preference
|
|
1209
|
-
- `conference.pwa`: Service worker registration and install
|
|
1260
|
+
- `conference.pwa`: Service worker registration and toasts to install and update (if PWA is enabled)
|
|
1210
1261
|
- `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`
|
|
1211
1262
|
- `conference.awaitReady()`: Promise-based initialization helper
|
|
1212
|
-
- `window.bootstrap`: Bootstrap components (Alert, Collapse, Dropdown, Modal, Offcanvas, Tab)
|
|
1263
|
+
- `window.bootstrap`: Bootstrap components (Alert, Collapse, Dropdown, Modal, Offcanvas, Tab, Toast)
|
|
1213
1264
|
- `window.L`: Leaflet map library (once the map is loaded)
|
|
1214
1265
|
|
|
1215
1266
|
**Example Usage:**
|
|
@@ -1258,15 +1309,14 @@ _js/
|
|
|
1258
1309
|
│ └── time.js # Timezone helpers
|
|
1259
1310
|
└── modules/
|
|
1260
1311
|
├── darkmode.js # Colour mode following the system
|
|
1261
|
-
├── embed.js # Embedded streams (stream overview)
|
|
1262
1312
|
├── infobox.js # Dismissal of information boxes
|
|
1263
1313
|
├── live.js # Live indications
|
|
1264
1314
|
├── map.js # Map functionality
|
|
1265
1315
|
├── modal.js # Links in a modal
|
|
1266
1316
|
├── nowline.js # Line at the current time in the program
|
|
1267
1317
|
├── program.js # Program days as tabs
|
|
1268
|
-
├── pwa.js # Service worker registration, install
|
|
1269
|
-
└── stream.js # Live stream modal
|
|
1318
|
+
├── pwa.js # Service worker registration, install and update toasts
|
|
1319
|
+
└── stream.js # Live stream modal and page
|
|
1270
1320
|
```
|
|
1271
1321
|
|
|
1272
1322
|
**CSS/SCSS** (`_css/` directory):
|
data/UPGRADE_GUIDE.md
CHANGED
|
@@ -37,6 +37,21 @@ A location page with `hide: true` only redirects to the home page, like hidden t
|
|
|
37
37
|
**Action:**
|
|
38
38
|
- None, unless the page should stay visible: then remove `hide` and its room links show again.
|
|
39
39
|
|
|
40
|
+
### App Install Toast
|
|
41
|
+
|
|
42
|
+
The banner inviting visitors to install the app (PWA) became a toast at the bottom of the page.
|
|
43
|
+
|
|
44
|
+
**Action:**
|
|
45
|
+
- Rename `pwa.install_banner` to `pwa.install_toast` in `_config.yml`, if set.
|
|
46
|
+
|
|
47
|
+
### Live Page
|
|
48
|
+
|
|
49
|
+
The stream overview (`layout: stream-overview`, all rooms' streams at once) became the live page (`layout: live`): one room at a time like the stream modal, which the installed app opens instead of the modal.
|
|
50
|
+
|
|
51
|
+
**Action:**
|
|
52
|
+
- Rename `layout: stream-overview` to `layout: live`, see [Live Indications & Streaming](README.md#live-indications--streaming).
|
|
53
|
+
- Without a stream overview, but with streaming and the PWA: create `live/index.md` with `layout: live`, else the app opens the stream as a modal covering its navigation bar.
|
|
54
|
+
|
|
40
55
|
### Editions (optional)
|
|
41
56
|
|
|
42
57
|
Merge the sites of several editions (e.g. one repository per year) into one site, see [Editions](README.md#editions). Per edition:
|
|
@@ -45,7 +60,7 @@ Merge the sites of several editions (e.g. one repository per year) into one site
|
|
|
45
60
|
3. Move `_data/program.yml` to `_data/programs/<id>.yml`.
|
|
46
61
|
4. Move its pages (`index.md`, `program/`, `talks/`, …) and `documents/` to `<id>/`.
|
|
47
62
|
|
|
48
|
-
Finally add an `index.md` with `layout: editions` and forward the former sites' addresses to `/<id>/`. On Apache, a `.htaccess` with `layout: htaccess` forwards
|
|
63
|
+
Finally add an `index.md` with `layout: editions` and forward the former sites' addresses to `/<id>/`. On Apache, a `.htaccess` with `layout: htaccess` forwards addresses outside the editions' folders to the current edition, e.g. `/program/` (see [Editions](README.md#editions)). Sites with a single edition need no change.
|
|
49
64
|
|
|
50
65
|
When merging, mind that:
|
|
51
66
|
- The site's `baseurl` drops the edition (e.g. `/2026` → `""`). Relative paths in content, such as `../assets/images/logo.svg`, then point into the edition's folder: use `{{ site.baseurl }}/assets/…` instead.
|
data/_data/conference_assets.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Generated by `npm run build`: content hashes of the bundles
|
|
2
|
-
css/conference-only.bundle.css: "
|
|
3
|
-
css/conference.bundle.css: "
|
|
2
|
+
css/conference-only.bundle.css: "12ebeda786"
|
|
3
|
+
css/conference.bundle.css: "faf83cc57a"
|
|
4
4
|
css/map.bundle.css: "3104fafcdf"
|
|
5
|
-
js/conference.bundle.js: "
|
|
5
|
+
js/conference.bundle.js: "7e8a4f77bd"
|
data/_data/lang.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
version:
|
|
1
|
+
version: 16
|
|
2
2
|
|
|
3
3
|
en:
|
|
4
4
|
pronoun:
|
|
@@ -9,23 +9,28 @@ en:
|
|
|
9
9
|
in: in
|
|
10
10
|
on_: "on"
|
|
11
11
|
overview: Overview
|
|
12
|
-
more_information: More
|
|
12
|
+
more_information: More information
|
|
13
13
|
close: Close
|
|
14
|
+
not_found:
|
|
15
|
+
title: "Page not found"
|
|
16
|
+
text: "This page does not exist (anymore)."
|
|
17
|
+
home: "Go to the home page"
|
|
14
18
|
navigation:
|
|
15
19
|
main: Main navigation
|
|
16
20
|
toggle: Toggle navigation menu
|
|
17
21
|
skip_to_content: Skip to content
|
|
22
|
+
more: More
|
|
18
23
|
live:
|
|
19
24
|
live: Live
|
|
20
|
-
stream: Live
|
|
21
|
-
streams: Live
|
|
22
|
-
pre_stream:
|
|
23
|
-
pause_stream:
|
|
24
|
-
post_stream:
|
|
25
|
+
stream: Live stream
|
|
26
|
+
streams: Live streams
|
|
27
|
+
pre_stream: The live stream hasn't started yet.
|
|
28
|
+
pause_stream: The live stream is paused.
|
|
29
|
+
post_stream: The live stream has ended.
|
|
25
30
|
offline: offline
|
|
26
31
|
time:
|
|
27
32
|
in: in
|
|
28
|
-
since:
|
|
33
|
+
since: for
|
|
29
34
|
weeks: weeks
|
|
30
35
|
week: week
|
|
31
36
|
days: days
|
|
@@ -51,7 +56,7 @@ en:
|
|
|
51
56
|
privacy: "This content is loaded from an external provider, which receives your IP address:"
|
|
52
57
|
program:
|
|
53
58
|
title: Program
|
|
54
|
-
legend:
|
|
59
|
+
legend: Legend
|
|
55
60
|
schedule: Conference schedule
|
|
56
61
|
days: Days
|
|
57
62
|
time: Time
|
|
@@ -65,9 +70,9 @@ en:
|
|
|
65
70
|
editions:
|
|
66
71
|
title: Edition
|
|
67
72
|
pwa:
|
|
68
|
-
subtitle:
|
|
73
|
+
subtitle: Works offline, right from your home screen
|
|
69
74
|
install: Install
|
|
70
|
-
title: Install
|
|
75
|
+
title: Install as an app
|
|
71
76
|
ios:
|
|
72
77
|
share: "Tap the Share button in the browser's toolbar (if hidden, behind “⋯”)."
|
|
73
78
|
add: "Scroll down and tap “Add to Home Screen”."
|
|
@@ -76,7 +81,9 @@ en:
|
|
|
76
81
|
menu: "Tap the menu button “⋮” in the browser's toolbar."
|
|
77
82
|
add: "Tap “Install app” or “Add to Home screen”."
|
|
78
83
|
confirm: "Tap “Install”."
|
|
79
|
-
done: Then open the app from its icon
|
|
84
|
+
done: Then open the app from its icon. It works offline too.
|
|
85
|
+
updated: New content is available.
|
|
86
|
+
reload: Update
|
|
80
87
|
|
|
81
88
|
de:
|
|
82
89
|
pronoun:
|
|
@@ -88,18 +95,23 @@ de:
|
|
|
88
95
|
on_: am
|
|
89
96
|
overview: Übersicht
|
|
90
97
|
more_information: Weitere Informationen
|
|
91
|
-
close:
|
|
98
|
+
close: Schliessen
|
|
99
|
+
not_found:
|
|
100
|
+
title: "Seite nicht gefunden"
|
|
101
|
+
text: "Diese Seite gibt es nicht (mehr)."
|
|
102
|
+
home: "Zur Startseite"
|
|
92
103
|
navigation:
|
|
93
104
|
main: Hauptnavigation
|
|
94
105
|
toggle: Navigationsmenü umschalten
|
|
95
106
|
skip_to_content: Zum Inhalt springen
|
|
107
|
+
more: Mehr
|
|
96
108
|
live:
|
|
97
109
|
live: Live
|
|
98
|
-
stream:
|
|
99
|
-
streams:
|
|
100
|
-
pre_stream: Der
|
|
101
|
-
pause_stream: Der
|
|
102
|
-
post_stream: Der
|
|
110
|
+
stream: Livestream
|
|
111
|
+
streams: Livestreams
|
|
112
|
+
pre_stream: Der Livestream hat noch nicht begonnen.
|
|
113
|
+
pause_stream: Der Livestream ist derzeit pausiert.
|
|
114
|
+
post_stream: Der Livestream ist beendet.
|
|
103
115
|
offline: offline
|
|
104
116
|
time:
|
|
105
117
|
in: in
|
|
@@ -120,7 +132,7 @@ de:
|
|
|
120
132
|
map_label: Interaktive Karte des Konferenzortes
|
|
121
133
|
rooms: Räume
|
|
122
134
|
talks: Vorträge in diesem Raum
|
|
123
|
-
focus_conf: Karte auf den
|
|
135
|
+
focus_conf: Karte auf den Konferenzort zentrieren
|
|
124
136
|
focus_me: Meinen aktuellen Standort anzeigen
|
|
125
137
|
map_load: Karte laden
|
|
126
138
|
map_privacy: "Die Karte wird von einem externen Anbieter geladen, der dabei Ihre IP-Adresse erhält:"
|
|
@@ -143,34 +155,41 @@ de:
|
|
|
143
155
|
editions:
|
|
144
156
|
title: Ausgabe
|
|
145
157
|
pwa:
|
|
146
|
-
subtitle:
|
|
158
|
+
subtitle: Funktioniert offline, direkt vom Startbildschirm
|
|
147
159
|
install: Installieren
|
|
148
|
-
title: App installieren
|
|
160
|
+
title: Als App installieren
|
|
149
161
|
ios:
|
|
150
|
-
share: "Tippen Sie in der Symbolleiste des Browsers auf
|
|
151
|
-
add: "Scrollen Sie nach unten und tippen Sie auf
|
|
152
|
-
confirm: "Tippen Sie auf
|
|
162
|
+
share: "Tippen Sie in der Symbolleiste des Browsers auf «Teilen» (falls nicht sichtbar, hinter «⋯»)."
|
|
163
|
+
add: "Scrollen Sie nach unten und tippen Sie auf «Zum Home-Bildschirm»."
|
|
164
|
+
confirm: "Tippen Sie auf «Hinzufügen»."
|
|
153
165
|
android:
|
|
154
|
-
menu: "Tippen Sie in der Symbolleiste des Browsers auf das Menü
|
|
155
|
-
add: "Tippen Sie auf
|
|
156
|
-
confirm: "Tippen Sie auf
|
|
157
|
-
done: Öffnen Sie die App danach über ihr Symbol
|
|
166
|
+
menu: "Tippen Sie in der Symbolleiste des Browsers auf das Menü «⋮»."
|
|
167
|
+
add: "Tippen Sie auf «App installieren» oder «Zum Startbildschirm hinzufügen»."
|
|
168
|
+
confirm: "Tippen Sie auf «Installieren»."
|
|
169
|
+
done: Öffnen Sie die App danach über ihr Symbol. Sie funktioniert auch offline.
|
|
170
|
+
updated: Neue Inhalte sind verfügbar.
|
|
171
|
+
reload: Aktualisieren
|
|
158
172
|
|
|
159
173
|
fr:
|
|
160
174
|
pronoun:
|
|
161
175
|
and: et
|
|
162
176
|
at: à
|
|
163
177
|
by: de
|
|
164
|
-
for:
|
|
178
|
+
for: pendant
|
|
165
179
|
in: dans
|
|
166
180
|
on_: le
|
|
167
181
|
overview: Aperçu
|
|
168
182
|
more_information: Plus d'informations
|
|
169
183
|
close: Fermer
|
|
184
|
+
not_found:
|
|
185
|
+
title: "Page introuvable"
|
|
186
|
+
text: "Cette page n'existe pas (ou plus)."
|
|
187
|
+
home: "Aller à la page d'accueil"
|
|
170
188
|
navigation:
|
|
171
189
|
main: Navigation principale
|
|
172
190
|
toggle: Basculer le menu de navigation
|
|
173
191
|
skip_to_content: Aller au contenu
|
|
192
|
+
more: Plus
|
|
174
193
|
live:
|
|
175
194
|
live: En direct
|
|
176
195
|
stream: Diffusion en direct
|
|
@@ -190,7 +209,7 @@ fr:
|
|
|
190
209
|
hour: heure
|
|
191
210
|
minutes: minutes
|
|
192
211
|
minute: minute
|
|
193
|
-
soon:
|
|
212
|
+
soon: bientôt
|
|
194
213
|
now: maintenant
|
|
195
214
|
location:
|
|
196
215
|
name: Lieu
|
|
@@ -221,9 +240,9 @@ fr:
|
|
|
221
240
|
editions:
|
|
222
241
|
title: Édition
|
|
223
242
|
pwa:
|
|
224
|
-
subtitle:
|
|
243
|
+
subtitle: Fonctionne hors ligne, depuis l'écran d'accueil
|
|
225
244
|
install: Installer
|
|
226
|
-
title: Installer
|
|
245
|
+
title: Installer comme application
|
|
227
246
|
ios:
|
|
228
247
|
share: "Touchez le bouton « Partager » dans la barre d'outils du navigateur (s'il est masqué, sous « ⋯ »)."
|
|
229
248
|
add: "Faites défiler vers le bas et touchez « Sur l'écran d'accueil »."
|
|
@@ -233,6 +252,8 @@ fr:
|
|
|
233
252
|
add: "Touchez « Installer l'application » ou « Ajouter à l'écran d'accueil »."
|
|
234
253
|
confirm: "Touchez « Installer »."
|
|
235
254
|
done: Ouvrez ensuite l'application depuis son icône, même hors ligne.
|
|
255
|
+
updated: Du nouveau contenu est disponible.
|
|
256
|
+
reload: Mettre à jour
|
|
236
257
|
|
|
237
258
|
pt:
|
|
238
259
|
pronoun:
|
|
@@ -245,21 +266,26 @@ pt:
|
|
|
245
266
|
overview: Visão geral
|
|
246
267
|
more_information: Mais informações
|
|
247
268
|
close: Fechar
|
|
269
|
+
not_found:
|
|
270
|
+
title: "Página não encontrada"
|
|
271
|
+
text: "Esta página não existe (mais)."
|
|
272
|
+
home: "Ir para a página inicial"
|
|
248
273
|
navigation:
|
|
249
274
|
main: Navegação principal
|
|
250
275
|
toggle: Alternar menu de navegação
|
|
251
276
|
skip_to_content: Ir para o conteúdo
|
|
277
|
+
more: Mais
|
|
252
278
|
live:
|
|
253
279
|
live: Ao vivo
|
|
254
280
|
stream: Transmissão ao vivo
|
|
255
|
-
streams:
|
|
281
|
+
streams: Transmissões ao vivo
|
|
256
282
|
pre_stream: A transmissão ao vivo ainda não começou.
|
|
257
283
|
pause_stream: A transmissão está atualmente em pausa.
|
|
258
284
|
post_stream: A transmissão ao vivo terminou.
|
|
259
285
|
offline: offline
|
|
260
286
|
time:
|
|
261
287
|
in: em
|
|
262
|
-
since:
|
|
288
|
+
since: há
|
|
263
289
|
weeks: semanas
|
|
264
290
|
week: semana
|
|
265
291
|
days: dias
|
|
@@ -276,13 +302,13 @@ pt:
|
|
|
276
302
|
map_label: Mapa interativo do local da conferência
|
|
277
303
|
rooms: Salas
|
|
278
304
|
talks: Apresentações nesta sala
|
|
279
|
-
focus_conf: Centralizar o mapa
|
|
305
|
+
focus_conf: Centralizar o mapa no local da conferência
|
|
280
306
|
focus_me: Mostrar minha localização atual
|
|
281
307
|
map_load: Carregar mapa
|
|
282
|
-
map_privacy: "O mapa é carregado a partir de um
|
|
308
|
+
map_privacy: "O mapa é carregado a partir de um provedor externo, que recebe o seu endereço IP:"
|
|
283
309
|
embed:
|
|
284
310
|
load: Carregar conteúdo
|
|
285
|
-
privacy: "Este conteúdo é carregado a partir de um
|
|
311
|
+
privacy: "Este conteúdo é carregado a partir de um provedor externo, que recebe o seu endereço IP:"
|
|
286
312
|
program:
|
|
287
313
|
title: Programa
|
|
288
314
|
legend: Legenda
|
|
@@ -299,9 +325,9 @@ pt:
|
|
|
299
325
|
editions:
|
|
300
326
|
title: Edição
|
|
301
327
|
pwa:
|
|
302
|
-
subtitle:
|
|
328
|
+
subtitle: Funciona offline, direto da tela inicial
|
|
303
329
|
install: Instalar
|
|
304
|
-
title: Instalar
|
|
330
|
+
title: Instalar como app
|
|
305
331
|
ios:
|
|
306
332
|
share: "Toque no botão “Compartilhar” na barra de ferramentas do navegador (se não estiver visível, em “⋯”)."
|
|
307
333
|
add: "Role para baixo e toque em “Adicionar à Tela de Início”."
|
|
@@ -311,3 +337,5 @@ pt:
|
|
|
311
337
|
add: "Toque em “Instalar app” ou “Adicionar à tela inicial”."
|
|
312
338
|
confirm: "Toque em “Instalar”."
|
|
313
339
|
done: Depois, abra o app pelo ícone, também offline.
|
|
340
|
+
updated: Há novo conteúdo disponível.
|
|
341
|
+
reload: Atualizar
|
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 != 16 -%}
|
|
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" -%}
|
|
@@ -63,6 +63,10 @@ For more details, refer to the [Tracks & Tags](https://github.com/DigitaleGesell
|
|
|
63
63
|
{%- if site.conference.location -%}
|
|
64
64
|
{%- assign errors = errors | push: "Your `_config.yml` file contains an outdated property name. Please move any location configuration from `conference.location` to your location file (with `layout: location`). For more details, refer to the [Location Page](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/#location-page) section in the theme's README." -%}
|
|
65
65
|
{%- endif -%}
|
|
66
|
+
{%- assign stream_overviews = site.pages | where: "layout", "stream-overview" -%}
|
|
67
|
+
{%- if stream_overviews.size > 0 -%}
|
|
68
|
+
{%- assign errors = errors | push: "The layout `stream-overview` was renamed. Please change `layout: stream-overview` to `layout: live` in the Front Matter of your page. For more details, refer to the [Live Indications & Streaming](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/#live-indications--streaming) section in the theme's README." -%}
|
|
69
|
+
{%- endif -%}
|
|
66
70
|
{%- if page.map and page.layout != "location" -%}
|
|
67
71
|
{%- assign errors = errors | push: "Your page's FrontMatter contains an outdated property name. Maps are no longer supported on individual pages and can only be included on pages with `layout: location`. For more details, refer to the [Location Page](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/#location-page) section in the theme's README." -%}
|
|
68
72
|
{%- endif -%}
|
|
@@ -116,6 +120,10 @@ For more details, refer to the [Tracks & Tags](https://github.com/DigitaleGesell
|
|
|
116
120
|
{%- assign errors = errors | push: "Your `_config.yml` file contains an outdated property name. The property `conference.speakers.show_firstname` is no longer supported." -%}
|
|
117
121
|
{%- endif -%}
|
|
118
122
|
|
|
123
|
+
{%- if site.conference.pwa.install_banner != nil -%}
|
|
124
|
+
{%- assign errors = errors | push: "Your `_config.yml` file contains an outdated property name. Please rename `conference.pwa.install_banner` to `conference.pwa.install_toast`." -%}
|
|
125
|
+
{%- endif -%}
|
|
126
|
+
|
|
119
127
|
{%- assign program_file = "_data/program.yml" -%}
|
|
120
128
|
{%- assign edition_dir = "" -%}
|
|
121
129
|
{%- if edition -%}
|