|
| 1 | +# CLAUDE.md |
| 2 | + |
| 3 | +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. |
| 4 | + |
| 5 | +## Commands |
| 6 | + |
| 7 | +```bash |
| 8 | +make preview # Serve locally at localhost:4000 (with live reload) |
| 9 | +make all # Build to _site/ |
| 10 | +make install # Install gem dependencies |
| 11 | + |
| 12 | +bundle exec jekyll serve --baseurl '' # Manual serve equivalent |
| 13 | +bundle exec jekyll build # Manual build equivalent |
| 14 | +``` |
| 15 | + |
| 16 | +Deployment is automatic via GitHub Pages on push to `master`. No manual deploy step needed. |
| 17 | + |
| 18 | +## Architecture |
| 19 | + |
| 20 | +This is a **Jekyll 4.4** academic personal website. It uses a single layout (`_layouts/default.html`) for all pages. Frontend uses Bootstrap 5.3.3 and Font Awesome 6.7.2 via CDN. All custom styles are in `css/theme.css`. |
| 21 | + |
| 22 | +### Data-driven content |
| 23 | + |
| 24 | +The three main content areas are driven entirely by YAML data files — no content changes require editing HTML or Liquid templates: |
| 25 | + |
| 26 | +- `_data/publications.yml` — all papers, grouped by year, rendered on `/publications/` |
| 27 | +- `_data/selected_publications.yml` — 6 curated papers shown as cards on `/publications/`; references entries by `id` from the full list |
| 28 | +- `_data/supervision.yml` — three arrays: `phd_students`, `postdocs`, `masters`; rendered on `/supervision/` |
| 29 | + |
| 30 | +### Publication entry structure |
| 31 | + |
| 32 | +```yaml |
| 33 | +- id: unique-slug # referenced by selected_publications.yml |
| 34 | + year: 2025 |
| 35 | + label: "SIGMOD'25" # short venue badge |
| 36 | + title: "Paper Title" |
| 37 | + authors: "Author Names" |
| 38 | + venue: "Full venue name" |
| 39 | + pdf: "https://..." # or relative path |
| 40 | + link: "https://..." # DOI or project page |
| 41 | + github: "https://..." |
| 42 | + slides: "path/to/slides.pdf" |
| 43 | + poster: "path/to/poster.pdf" |
| 44 | + award: "ACM SIGMOD Best Paper 2025" # plain text; icon injected by template |
| 45 | +``` |
| 46 | +
|
| 47 | +### Supervision entry structure |
| 48 | +
|
| 49 | +PhD students and postdocs use a `photo` field (path under `/assets/people/`). If omitted, a circular badge with auto-generated initials is rendered instead. Master students use `initials` (optional override) and link to their thesis repository. |
| 50 | + |
| 51 | +### Includes |
| 52 | + |
| 53 | +- `_includes/pub-highlight.html` — publication card (venue badge + title + authors + links) |
| 54 | +- `_includes/student-card.html` — single person card |
| 55 | +- `_includes/people-list.html` — wraps multiple student cards in a flex grid |
| 56 | + |
| 57 | +### Navigation active state |
| 58 | + |
| 59 | +The navbar underlines the active section by comparing `page.url` against each nav link in `_layouts/default.html`. When adding a new top-level section, add both the page and a nav entry there. |
0 commit comments