This repository contains the source code for the OptimAI Lab website.
Built with Jekyll using the al-folio theme.
Before making any changes, always sync with the main branch to avoid conflicts:
git checkout main
git pull origin mainIf you were working on a feature branch, merge main into it:
git checkout your-branch
git merge mainResolve any conflicts before proceeding.
Update the relevant files for your task. See the Page-Specific Instructions section below.
For small changes (text updates, minor edits), you can skip this step and use Claude Code to verify and commit directly.
For significant changes (new pages, layout modifications, new images), verify locally before committing:
docker compose up --buildVisit http://localhost:8080 and check:
- Navigation links work correctly
- Images display properly
- Content is formatted correctly
- Dark mode still works
git add -A
git commit -m "Description of changes"
git pushWhat you can update: Projects and News
Files to edit:
_pages/about.md— Main home page content
Detailed guide: HOME_GUIDE.md
What you can update: News posts, announcements, updates
Files to edit:
_news/YYYY-MM-DD-title.md— Create new files for each news post_pages/news.md— News page layout (rarely needs editing)
To add news:
- Create a new file in
_news/with formatYYYY-MM-DD-title.md - Add front matter with
title,date,author,image(optional) - Write content in Markdown below the front matter
Detailed guide: NEWS_GUIDE.md
What you can update: Research projects, project descriptions, thumbnails
Files to edit:
_projects/project-name.md— One file per project
To add a project:
- Create a new file in
_projects/with a descriptive filename - Add front matter with
title,description,img,github(optional),external_link(optional) - Add detailed description in Markdown below
Detailed guide: PROJECTS_GUIDE.md
What you can update: Team members, profile photos, roles
Files to edit:
_pages/profiles.md— Manual list of team membersassets/img/people/— Profile photos
To add a team member:
- Add their photo to
assets/img/people/ - Edit
_pages/profiles.mdand add their entry with name, role, photo path, and links
Detailed guide: PEOPLE_GUIDE.md
What you can update: Group photos, event photos, lab activities
Files to edit:
_pages/activity.md— Manual gallery of activitiesassets/img/activities/— Activity/group photos
To add activities:
- Add photos to
assets/img/activities/ - Edit
_pages/activity.mdand add image entries to the gallery
Detailed guide: ACTIVITIES_GUIDE.md
optimai-lab.github.io/
├── _config.yml # Site configuration (url, title, etc.)
├── _pages/ # Main pages
│ ├── about.md # Home page content
│ ├── news.md # News page
│ ├── projects.md # Projects page
│ ├── profiles.md # People page (manual)
│ └── activity.md # Activities page (manual)
├── _news/ # News posts (one file per post)
├── _projects/ # Project cards (one file per project)
├── _data/ # YAML data files (navigation, CV data)
├── _includes/ # Reusable Liquid templates
├── _layouts/ # Page layouts
├── _sass/ # Stylesheets
├── assets/
│ ├── img/
│ │ ├── people/ # Profile photos
│ │ ├── activities/ # Activity/group photos
│ │ ├── projects/ # Project thumbnails
│ │ ├── news/ # News images
│ │ └── home/ # Banner image
│ └── js/ # JavaScript files
├── _bibliography/ # BibTeX files for publications
└── Gemfile # Ruby dependencies
| Task | File(s) to Edit |
|---|---|
| Update home page | _pages/about.md |
| Add news post | _news/YYYY-MM-DD-title.md |
| Add project | _projects/project-name.md |
| Add team member | _pages/profiles.md, assets/img/people/ |
| Add activity photos | _pages/activity.md, assets/img/activities/ |
| Change site title/url | _config.yml |
- INSTALL.md — Installation and deployment details
- CUSTOMIZE.md — Customization guide
- TROUBLESHOOTING.md — Common issues and solutions
- al-folio documentation — Original theme repository