From bfa6e0708a32cea1cf143487996d52c02d1f8910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Wed, 18 Nov 2026 21:41:45 +0100 Subject: [PATCH 1/2] Constrain schedule pages to the site container and add a page header The Sessionize embeds on /schedule/ and /grid/ spanned the full viewport (and the list was a few pixels wider than the viewport on mobile), with no page title. - Add partials/programme-page.html shared by /schedule/ and /grid/: page

, date and venue, session/workshop/speaker counts from Sessionize, and List / Grid / Speakers tabs - Constrain the embed to the site container: max-w-4xl for the list (readable line length), max-w-7xl for the grid (room columns); clip horizontal overflow - Drop the min-h-screen flex centering wrapper - Hide Sessionize's own day title on the grid (single-day event, and it was a second

) --- assets/css/main.css | 7 ++++ layouts/grid/list.html | 4 +- layouts/partials/programme-page.html | 59 ++++++++++++++++++++++++++++ layouts/schedule/list.html | 4 +- 4 files changed, 68 insertions(+), 6 deletions(-) create mode 100644 layouts/partials/programme-page.html diff --git a/assets/css/main.css b/assets/css/main.css index 45e54e5..cee67b4 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -118,3 +118,10 @@ html { border: 2px solid var(--color-py-yellow); box-shadow: 0 0 40px rgba(255, 212, 59, 0.1); } + +/* Sessionize embeds (/schedule/, /grid/) */ +/* Single-day event: the page header already shows the date, and Sessionize's + day title is an

that would duplicate the page

. */ +.sessionize-embed .sz-day__title { + display: none; +} diff --git a/layouts/grid/list.html b/layouts/grid/list.html index 5c73d51..16f45fb 100644 --- a/layouts/grid/list.html +++ b/layouts/grid/list.html @@ -2,7 +2,5 @@ {{/* Structured Data for Schedule */}} {{ partial "structured-data-schedule.html" . }} -
- -
+{{ partial "programme-page.html" (dict "page" . "view" "GridSmart") }} {{ end }} diff --git a/layouts/partials/programme-page.html b/layouts/partials/programme-page.html new file mode 100644 index 0000000..f48946c --- /dev/null +++ b/layouts/partials/programme-page.html @@ -0,0 +1,59 @@ +{{- /* + Shared layout for the Sessionize-powered programme pages. + + Params (dict): + page the current page + view Sessionize embed view: "Sessions" (list) or "GridSmart" (grid) + + The embed is constrained to the site container (it otherwise spans the + full viewport) and overflow-x is clipped: the Sessionize list renders a + few pixels wider than the viewport on mobile. See .sessionize-embed in + assets/css/main.css for the overrides of Sessionize's own markup. +*/ -}} +{{- $page := .page -}} +{{- $view := .view -}} +{{- $sz := partialCached "sessionize-data.html" $page -}} +{{- /* The list view has long descriptions: keep a readable line length. + The grid needs the full container width for its room columns. */ -}} +{{- $width := cond (eq $view "GridSmart") "max-w-7xl" "max-w-4xl" -}} +{{- $tabs := slice + (dict "label" "List" "url" "/schedule/" "view" "Sessions") + (dict "label" "Grid" "url" "/grid/" "view" "GridSmart") +-}} +
+
+
+

{{ $page.Title }}

+

+ {{ site.Params.dateHuman }} · {{ site.Params.venue }}, Dublin +

+ {{- if $sz.ok }} + {{- $talks := 0 }}{{ $workshops := 0 }} + {{- range $sz.sessions }} + {{- if eq .type "Workshop" }}{{ $workshops = add $workshops 1 }}{{ else }}{{ $talks = add $talks 1 }}{{ end }} + {{- end }} +

+ {{ $talks }} talks & panels · {{ $workshops }} workshops · {{ len $sz.speakers }} speakers +

+ {{- end }} + + +
+
+ +
+ +
+
+ +
+
+
diff --git a/layouts/schedule/list.html b/layouts/schedule/list.html index 426feed..b308429 100644 --- a/layouts/schedule/list.html +++ b/layouts/schedule/list.html @@ -2,7 +2,5 @@ {{/* Structured Data for Schedule */}} {{ partial "structured-data-schedule.html" . }} -
- -
+{{ partial "programme-page.html" (dict "page" . "view" "Sessions") }} {{ end }} From c496fd0e1c6ab5796b9a89806ef68c4ee1406182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Wed, 18 Nov 2026 21:43:47 +0100 Subject: [PATCH 2/2] Apply the programme page layout to /speakers/ - /speakers/ uses partials/programme-page.html too (header, tabs, constrained embed); the tabs become List / Grid / Speakers views - Speaker bios get the same readable max-w-4xl column as the session list; only the grid keeps the full container width --- layouts/partials/programme-page.html | 12 +++++++----- layouts/speakers/list.html | 4 +--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/layouts/partials/programme-page.html b/layouts/partials/programme-page.html index f48946c..eb78f19 100644 --- a/layouts/partials/programme-page.html +++ b/layouts/partials/programme-page.html @@ -3,7 +3,8 @@ Params (dict): page the current page - view Sessionize embed view: "Sessions" (list) or "GridSmart" (grid) + view Sessionize embed view: "Sessions" (list), "GridSmart" (grid) + or "Speakers" The embed is constrained to the site container (it otherwise spans the full viewport) and overflow-x is clipped: the Sessionize list renders a @@ -13,12 +14,14 @@ {{- $page := .page -}} {{- $view := .view -}} {{- $sz := partialCached "sessionize-data.html" $page -}} -{{- /* The list view has long descriptions: keep a readable line length. - The grid needs the full container width for its room columns. */ -}} +{{- /* Session and speaker lists have long descriptions and bios: keep a + readable line length. The grid needs the full container width for + its room columns. */ -}} {{- $width := cond (eq $view "GridSmart") "max-w-7xl" "max-w-4xl" -}} {{- $tabs := slice (dict "label" "List" "url" "/schedule/" "view" "Sessions") (dict "label" "Grid" "url" "/grid/" "view" "GridSmart") + (dict "label" "Speakers" "url" "/speakers/" "view" "Speakers") -}}
@@ -37,14 +40,13 @@

{{ $page.

{{- end }} -

diff --git a/layouts/speakers/list.html b/layouts/speakers/list.html index 2f1f5e0..0750e0c 100644 --- a/layouts/speakers/list.html +++ b/layouts/speakers/list.html @@ -2,7 +2,5 @@ {{/* Structured Data for Speakers */}} {{ partial "structured-data-speakers.html" . }} -
- -
+{{ partial "programme-page.html" (dict "page" . "view" "Speakers") }} {{ end }}