Team Data Updates and the Astro 6 Migration
Roster changes to the people data, plus the Astro 6 upgrade — which turned out to be less a version bump than a Content Collections migration with required rework.
Changelog — 2026-04-09_01
Summary
This changeset updates team member data and upgrades the site’s tooling (notably Astro to v6), including required migration work for Astro v6 Content Collections.
Team / People data updates
Added
Added additional Institute entries to:
src/content/people/team.jsonsrc/content/people/team-extended.jsonOnchinsuren Dendevsambuu
role:Ambassador for Mongolia | TWF Institute Partner — Mongolia Deskimage:/headshots/headshotOf__Onchinsuren-Dendevsambuu.jpegsocialLinks: LinkedInhttps://www.linkedin.com/in/onch-dendev/
Thomas Bella
role:TWF Institute Partner — DACH DesksocialLinks: LinkedInhttps://www.linkedin.com/in/thomas-bella-munich/
Robert Schiele
role:TWF Institute Partner — DACH DesksocialLinks: LinkedInhttps://www.linkedin.com/in/robert-schiele-a126a2158/
Ineeleng Molete
image:/headshots/headshotOf__Ineeleng-Molete.jpegsocialLinks: LinkedInhttps://www.linkedin.com/in/ineeleng-molete-a5078992/
Removed
Removed Lisa Niedenfuehr from:
src/content/people/team.jsonsrc/content/people/team-extended.json
Removed Nick Stübbe from:
src/content/people/team.jsonsrc/content/people/team-extended.json
Updated
Updated Corinna Schwager title:
role:Chief of Staffin both
team.jsonandteam-extended.json
Updated Divyakshi Nath:
role:Analystclassifiers: changed fromVisiting FellowtoTeamin both
team.jsonandteam-extended.json
Adjusted Martin Klässner to prevent duplicate rendering on the Team page:
classifiers:Vertical Partner, Team->Vertical Partnerin
src/content/people/team.json
Rewrote Robert Schiele bio to match the site’s typical third-person style and length.
Dependency upgrades
Updated package.json versions (installed via pnpm):
astro:^5.16.11->^6.1.5tailwindcss:^4.1.18->^4.2.2@tailwindcss/vite:^4.1.18->^4.2.2vitest:^4.0.17->^4.1.4@vitest/ui:^4.0.17->^4.1.4jsdom:^27.4.0->^29.0.2@types/node:^24.10.9->^25.5.2@astrojs/check:^0.9.6->^0.9.8typescript:^5.9.3->^6.0.2
Notes:
pnpm reported peer dependency warnings indicating Astro tooling expects TypeScript
^5.x(TypeScript v6 may be too new).
Astro v6 migration (Content Collections)
Content config migration
Added new Astro v6 content config file:
src/content.config.ts
Existing legacy file still present:
src/content/config.ts
Added loaders to content collections
Astro v6 requires loaders for collections.
Updated
src/content/events/config.ts:Added
loader: glob({ pattern: '**/*.md', base: './src/content/events' })Imported
globfromastro/loaders
Updated
src/content/facts/schema.ts:Added
loader: glob({ pattern: '**/[!_]*.md', base: './src/content/facts' })The
[!_]*exclusion prevents underscore-prefixed markdown (e.g._All-Facts.md) from being treated as a facts entry and failing schema validation.
Render API change
Astro v6 changed how collection entries render.
Updated
src/components/facts/FactCard--w-Image.astro:Replaced
entry.render()withrender(entry)Updated import to
import { render, type CollectionEntry } from 'astro:content'
Events pages compatibility (slug handling)
With v6 loaders, pages relying on event.slug could fail.
Updated events pages to derive a slug from
event.idwhenevent.slugis absent.Added helper
getEventSlug = (event: any) => (event.slug ?? event.id?.replace(/\.md$/, ''))in several pages.
Files updated:
src/pages/events/bmw-foundation-the-leaders-collaboration-forum.astrosrc/pages/events/unga.astrosrc/pages/events/oceanx.astrosrc/pages/events/norrsken-impact-week.astrosrc/pages/events/thedrop.astrosrc/pages/events/hellenic-impact-investor-conference.astrosrc/pages/events/index.astrosrc/pages/events/cop.astrosrc/pages/events/g20-summit.astrosrc/pages/events/twf-water-resilient-cities-forum.astrosrc/pages/events/water-futures-forum.astrosrc/layouts/sections/events/UpcomingEvents.astro
Build status
pnpm buildpasses successfully after the Astro v6 migration changes.
Known warnings / follow-ups
Unsplash 403 errors can occur during prerender when attempting Unsplash lookups; these are treated as non-blocking for now (fallback image logic exists).
Consider removing
src/content/config.tsto avoid confusion/regressions related to legacy content config detection.Consider downgrading TypeScript back to a supported
^5.xrange to eliminate peer dependency warnings for Astro tooling.
