Updates shown on the News page and its filtered views.
- Content location:
src/content/news/ - Rendered by:
src/pages/news/index.astro, plus filtered viewssrc/pages/news/awards.astroandsrc/pages/news/grants.astro - Filtering is driven by the
typefield (e.g.Awarditems appear on the Awards page,Grantitems on the Grants page) - Schema source of truth:
src/content/config.ts
-
Create a Markdown file in
src/content/news/. Use a descriptive, date-prefixed name, e.g.2026-publication-new-compiler-paper.md. -
Add the frontmatter:
--- date: "2026-06-17" # full date "YYYY-MM-DD" or just "YYYY" type: "Publication" # Award | Grant | Publication | Event | Announcement | General description: "One concise update sentence. Markdown is supported." --- Optional expanded body content (Markdown).
-
Validate:
npm run build.
Choose
typecarefully —AwardandGrantitems also surface on their dedicated pages.
- Open the relevant file in
src/content/news/. - Edit the
description,date,type, or body. - Validate:
npm run build.
- Delete the file from
src/content/news/. - Validate:
npm run build.
To import many historical items at once, the legacy helper script is available:
python parse_news.pyReview the generated files afterward and run npm run build to validate.
| Field | Required | Notes |
|---|---|---|
date |
Yes | String, date, or number — "YYYY-MM-DD" or "YYYY" |
type |
Yes | Award | Grant | Publication | Event | Announcement | General |
description |
Yes | Short summary; Markdown supported |
| body | No | Optional expanded content below the frontmatter |