Personal academic homepage of Zongying Lin (林宗莹), M.S. student at Peking University.
Style inspired by shaodong233.github.io (Minimal Mistakes theme).
Live at: https://linzongying.github.io
- 🎨 Minimal-Mistakes-inspired typography — PT Serif + PT Sans Narrow
- 🌐 Bilingual (English / 中文) — one-click toggle, persisted in localStorage
- 📊 Live Google Scholar stats — citations, h-index, i10-index auto-refreshed daily via GitHub Actions
- 💬 WeChat modal — click-to-reveal ID with one-tap copy
- 📱 Responsive — mobile / tablet / desktop
- ♿ Accessible — semantic HTML, focus-visible, skip-link, aria labels
- 🚀 Static site — no build step; works on plain GitHub Pages
update-scholar.py— Python script that fetches your Scholar profile page and parses the stats table intoscholar.json..github/workflows/update-scholar.yml— GitHub Actions workflow that runs the script daily at 00:00 UTC (08:00 Beijing) and auto-commits any changes.- Front-end —
index.htmlfetchesscholar.jsonon page load and animates the numbers into the stats cells. Silently falls back to cached values if the file is unreachable.
python3 update-scholar.pyOr trigger from GitHub: Actions → Update Scholar Stats → Run workflow.
For the Action to push back to the repo, go to: Settings → Actions → General → Workflow permissions → Read and write permissions
.
├── index.html # The homepage
├── avatar.jpg # Circular bio photo (400×400)
├── portrait.jpg # Article portrait (600×800)
├── scholar.json # Auto-updated Scholar metrics
├── update-scholar.py # Scholar fetcher script
├── paper_thumbs/ # Publication thumbnails
│ ├── taxdiff.png
│ ├── prollama.png
│ ├── multi_transsp.png
│ ├── chemling.png
│ ├── mg_score.png
│ └── casa.png
└── .github/workflows/
└── update-scholar.yml # Daily cron
- Create a new public repo on GitHub named exactly
<your-username>.github.io. - Push this directory:
git remote add origin https://github.com/<your-username>/<your-username>.github.io.git git push -u origin main
- Settings → Pages → Source = Deploy from a branch → Branch = main / root → Save.
- Visit
https://<your-username>.github.io(may take 1–2 minutes on first deploy).
- Create any public repo (e.g.
academic-homepage). - Push and enable Pages as above.
- Visit
https://<your-username>.github.io/academic-homepage/.
Fork this repo and edit:
| What | Where |
|---|---|
| Name / bio / contact | index.html — Hero + About Me sections |
| Photos | Replace avatar.jpg and portrait.jpg |
| Publications | index.html — <article class="paper-item"> blocks + paper_thumbs/*.png |
| Education / Experience / Awards | index.html — corresponding sections |
| Google Scholar user ID | update-scholar.py — USER = 'your-scholar-id' |
Content (text, photos, publications) © Zongying Lin.
Template structure inspired by Minimal Mistakes — feel free to reuse the layout/CSS for your own academic homepage.