Development

Development

This site is a Jekyll-based personal academic homepage.

Local setup

./bin/setup

The helper scripts use the local Homebrew Ruby 3.3 environment configured for this project.

Run locally

./bin/serve

Then open http://127.0.0.1:4000/. Use http://localhost:4000/ for visual checks so generated asset URLs and the browser origin match.

Build before publishing

./bin/build

Smoke checks

After ./bin/serve, verify the key pages:

curl -s http://localhost:4000/ | grep -E "WANG Jiong|Featured Projects|EarthLink|LAMM|FreeMan"
curl -s http://localhost:4000/projects/ | grep -E "EarthLink|LAMM|FreeMan|My role|11M frames"
curl -s http://localhost:4000/publications/ | grep -E "EarthLink|LAMM|FreeMan|CVPR|NeurIPS|Authors"
curl -s http://localhost:4000/cv/ | grep -E "Fudan|Shanghai AI Lab|Python"

Content model

  • Homepage narrative lives in _data/home.yml.
  • Project details live in _projects/*.md; use featured: true, topic, role, metrics, and links for homepage/project-card rendering.
  • Publication details live in _publications/*.md; use selected: true, authors, role, metrics, topic, and links for publication-card rendering.
  • Optional media fields:
    • thumbnail: /images/projects/<slug>/thumb.jpg
    • hero_image: /images/projects/<slug>/hero.jpg
    • video: /files/projects/<slug>/demo.mp4
    • media_alt: "Concise description of the visual"
  • Put images in images/projects/<slug>/ and videos in files/projects/<slug>/. Prefer 1200x675 or 1600x900 JPG/WebP thumbnails and MP4 demos under 20MB.

Brand assets

  • Keep the original candidate artwork at images/icon4.png.
  • Use images/brand/wang-cat-mark.png as the transparent master mark.
  • Keep the complete cat-and-W mark monochrome charcoal (#252a2e); reserve cyan for surrounding UI accents, not any part of the mark.
  • Navigation and favicon assets use the optimized files in images/brand/.
  • images/brand/wang-cat-og.png is the default Open Graph sharing image.
  • The author profile continues to use images/portrait_wj.jpg.

Keep project metadata in _projects; do not duplicate project cards in _data/home.yml.