--- // person = people[person-id - 1] (Liquid default person-id = 25 → people[24]). import Icon from '@ui/Icon.astro' import Flag from '@ui/Flag.astro' import people from '@data/people.json' interface Person { university?: string company?: string city?: string country?: string country_code?: string birth_date?: string time_zone?: string [key: string]: unknown } interface Props { title?: string personId?: number } const { title = 'Basic info', personId = 25 } = Astro.props const person = (people as Person[])[personId - 1] ---