Repository navigation
Build speaker and schedule JSON-LD from Sessionize - #168
Merged
Merged
Conversation
The schedule and speakers JSON-LD was generated from data/*.yml, which still held the template's placeholder talks and speakers, so search engines were fed invented sessions a few days before the event. - Add partials/sessionize-data.html: fetch the Sessionize JSON "All data" endpoint (params.sessionizeApiUrl) at build time; a Sessionize outage logs a warning and omits the structured data - /schedule/ and /grid/: one EducationalEvent per accepted session (exact start/end, room, performers, superEvent), built with dict + jsonify - /speakers/: ItemList of Person (tagline, bio, photo, sameAs, performerIn) - Homepage Event: list all speakers as performer - Remove data/speakers.yml, sessions.yml, schedule.yml and the unused keynotes.html / speaker-card.html partials that depended on them - Fix event times: Dublin is on GMT (+00:00) in November, not +01:00; end time aligned with the last session (19:05) - Footer: show the short commit SHA (substr instead of slice, which rendered "[<sha> 0 7]") - Homepage: drop the stale "CFP closed" badge (it also left an unclosed <span>) - Venue page title: "Venue" instead of "Venue: Confirmed" - Update CLAUDE.md and docs/STRUCTURED-DATA.md
✅ Deploy Preview for pycon-ireland-2026 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Use schema.org EducationEvent: "EducationalEvent" (inherited from the previous partial) is not a schema.org type, so every session node and its properties were invalid - Add the venue address to each session location (required by Google for physical events) - Add image (speaker photos, site image as fallback) and offers (the conference tickets from Tito) to each session - Expose speakerPhotos from sessionize-data.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The JSON-LD on
/schedule/,/grid/and/speakers/was generated fromdata/sessions.yml,data/speakers.ymlanddata/schedule.yml, which still contained the template's placeholder content (e.g. "The Future of Python: What's Coming in 3.15 and Beyond" by "Anna Ravenscroft"). Search engines were being fed invented talks and speakers, while the visible pages show the real programme via the Sessionize embeds.Changes
Structured data from Sessionize
layouts/partials/sessionize-data.htmlfetches the Sessionize JSON endpoint (params.sessionizeApiUrl, "All data" view) at build time viaresources.GetRemote, like the Tito integration (Load Tito widget on homepage only and source ticket prices from Tito #164). If Sessionize is unreachable, aWARNis logged and the structured data is omitted. The build does not fail./schedule/and/grid/: an@graphwith oneEducationalEventper accepted session (43). Each has its exactstartDate/endDate, the room aslocation(containedInPlacethe venue@id),performerreferences and asuperEventlink to#main-event./speakers/:ItemListof 49Personnodes (tagline asjobTitle, bio, photo,sameAslinks,performerInback to their sessions).Event: all speakers listed asperformer.dict+jsonify | safeJSinstead of string templating, so quotes and emoji in titles and bios are escaped correctly.data/speakers.yml,data/sessions.yml,data/schedule.yml, and the unusedkeynotes.html/speaker-card.htmlpartials that read them. Also dropped theEventSeriesblock.Time zone fix
eventStartDate/eventEndDateused+01:00, but Dublin is on GMT (+00:00) in November, so search engines saw the event starting at 08:00 local time. The end time is now aligned with the last session in Sessionize (Lightning Talks, 19:05).Small fixes from the site audit
slice . 0 7rendered[<full sha> 0 7]; nowsubstr . 0 7.<span>unclosed.Docs:
CLAUDE.mdupdated (data model, structured data layers, time zone note).docs/STRUCTURED-DATA.mdgets a note pointing to the new setup.Verification
hugo --minifybuilds with no warnings related to this change.@idreferences (everyperformerresolves to aPerson, everyperformerInto a session). Times are emitted as2026-11-21T09:00:00+00:00. No placeholder names are left.HUGO_PARAMS_SESSIONIZEAPIURL: a warning is logged, there is no schedule/speaker JSON-LD and noperformer, and the build succeeds.scripts/check-csp.pypasses (no new client-side domains).After deploy: check
/schedule/with the Google Rich Results Test.🤖 Generated with Claude Code