The site is a Jekyll site with Sveltia CMS (a free, git-based content editor) at
https://mint-vu.github.io/admin/. Editors log in with GitHub; every edit becomes a
commit and the site rebuilds automatically.
The repo now includes .github/workflows/deploy.yml (builds with Jekyll 4).
- Push this code to
mainofmint-vu/mint-vu.github.io. - In the repo: Settings → Pages → Build and deployment → Source → GitHub Actions.
- Push again (or run the workflow manually) — the site deploys.
Because the site is on GitHub Pages, the CMS needs a tiny free authentication relay. The standard one is sveltia-cms-auth on Cloudflare Workers (free tier is plenty):
- Go to https://github.com/sveltia/sveltia-cms-auth and click Deploy to Cloudflare Workers
(create a free Cloudflare account if needed). Note your worker URL, e.g.
https://sveltia-cms-auth.YOURNAME.workers.dev. - Create a GitHub OAuth App: GitHub → Settings → Developer settings → OAuth Apps → New OAuth App
(create it under the
mint-vuorganization if possible):- Homepage URL:
https://mint-vu.github.io - Authorization callback URL:
https://<your-worker-url>/callback
- Homepage URL:
- In the Cloudflare Worker → Settings → Variables, add:
GITHUB_CLIENT_ID— from the OAuth appGITHUB_CLIENT_SECRET— from the OAuth appALLOWED_DOMAINS—mint-vu.github.io
- In
admin/config.yml, replacebase_url: https://YOUR-AUTH-WORKER.workers.devwith your worker URL. Commit and push.
Now visit https://mint-vu.github.io/admin/, sign in with GitHub, and edit away.
When you later migrate hosting to Netlify or Cloudflare Pages, this still works unchanged — just update
ALLOWED_DOMAINSand thesite_url/base_urlvalues.
The CMS uses GitHub permissions — no separate accounts:
- Repo → Settings → Collaborators and teams → Add people → their GitHub username →
role Write. (Or add them to a team in the
mint-vuorg with write access.) - They visit
/admin/, sign in with their GitHub account, and can edit everything.
To revoke access, remove them as a collaborator.
| CMS section | What it controls |
|---|---|
| People | Add/edit members: name, role, photo (uploads to images/people/), email, website, bio, fun fact. Move someone to Alumni by changing their Position and filling in "Current position". |
| News | The homepage news list. Newest first automatically. |
| Publications | The full publication list, grouped by year automatically. The homepage shows the most recent ones. |
| Homepage | Intro paragraph, photo carousel (upload lab photos + captions), selected talks (YouTube IDs), how many news/papers appear. |
| Pages | The About and Join pages (markdown). |
bundle install
bundle exec jekyll serve
# open http://localhost:4000- Old URLs
/publication/and/resources/redirect to/publications/and/join/. - Person page URLs are now lowercase (e.g.
/people/xinran-liu/). - The old
CNAMEfile contained the default domain and was removed; when you get a custom domain, add aCNAMEfile containing it and configure it in Pages settings.