A clean, modern website for the Data-Centric Machine Learning (DCML) group at Harvard University.
Built with Hugo for speed and simplicity.
# Install Hugo (macOS)
brew install hugo
# Run locally
hugo server
# Build for production
hugo --gc --minify
# Basic usage
./bin/add-paper --arxiv https://arxiv.org/abs/2309.12345
# With GitHub and video links
./bin/add-paper --arxiv https://arxiv.org/abs/2309.12345 --github https://github.com/org/repo --video https://youtube.com/watch?v=...
# Also create a project page
./bin/add-paper --arxiv https://arxiv.org/abs/2309.12345 --project
For featured papers with rich content (like FloWM):
./bin/create-project --arxiv https://arxiv.org/abs/2309.12345 --name "my-project" --github URL --video URL
This creates:
content/research/my-project/index.md- Edit to add method/resultsstatic/img/projects/my-project/- Add figures here
# Quick inline news
./bin/add-news "Paper accepted to NeurIPS! 🎉"
# With custom title
./bin/add-news --title "NeurIPS Acceptance" "Our paper on X was accepted!"
./bin/add-member --name "Jane Doe" --category phd --website https://janedoe.com
# Options: pi, postdoc, phd, masters, undergrad, visiting
./bin/add-member --name "John Smith" --category postdoc --image john.jpg
# Mark as alumni
./bin/add-member --name "Former Student" --category phd --alumni
├── content/
│ ├── team/ # Team member pages
│ ├── publications/ # Publications
│ ├── research/ # Project pages
│ ├── news/ # News items
│ └── blog/ # Blog posts
├── static/img/ # Images
├── layouts/ # HTML templates
├── assets/css/ # Styles
└── bin/ # Automation scripts
Edit hugo.toml for:
- Site title and description
- Social links (GitHub, Twitter)
- Menu items
Edit assets/css/main.css for:
- Colors (CSS variables in
:root) - Typography
- Component styles
layouts/index.html- Homepagelayouts/team/list.html- Team pagelayouts/research/single.html- Project page
The site auto-deploys to GitHub Pages on push to main/master via GitHub Actions.
Manual deployment:
hugo --gc --minify
# Upload public/ to your host
MIT