spaCy/website/meta/recordSections.tsx

6 lines
158 B
TypeScript

import siteMetadata from './site.json'
const recordSections = Object.fromEntries(siteMetadata.sections.map((s) => [s.id, s]))
export default recordSections