The course pages under the Teaching section.
- Pages:
src/pages/teaching/ - Teaching landing page:
src/pages/teaching.astro - Downloadable course files:
public/assets/teaching/
Teaching is page-driven, not a content collection. Each course is its own
.astropage. Existing pages includemla.astro,cse325.astro,cse420.astro,quantum-computation.astro, andolder-courses.astro.
- Create a new
.astrofile insrc/pages/teaching/, e.g.cse450.astro. The simplest approach is to copy an existing course page and edit its content. - Link the new page from
src/pages/teaching.astroso it appears in the teaching index. - Put any downloadable materials (syllabi, slides) under
public/assets/teaching/and link them via/assets/teaching/<file>. - Validate:
npm run build.
- Edit the course's
.astrofile insrc/pages/teaching/. - Update or replace files under
public/assets/teaching/as needed. - Validate:
npm run build.
- Delete the course's
.astrofile fromsrc/pages/teaching/. - Remove its link from
src/pages/teaching.astro. - Optionally delete unused files under
public/assets/teaching/. - Validate:
npm run build.
Because course pages are hand-built
.astrofiles (not data-driven), changes here involve light HTML/markup editing. See ../architecture.md if you are new to Astro pages.