Static academic homepage at al2wang.github.io, with a design adapted from Jonas Hübotter's website and al-folio.
The site uses plain HTML, CSS, and JavaScript. GitHub Pages serves the root of
the main branch; no package installation or framework build is required.
From the repository root:
python3 -m http.server 8000 --bind 127.0.0.1Open http://127.0.0.1:8000/. The homepage also works when opened directly as a file. Its content does not require JavaScript; JavaScript adds a persistent theme preference.
- The homepage shows the name, one introductory sentence, a cartoon placeholder
portrait, a Research Interests list, and Publications and Preprints. Edit the
sentence in
index.html; keep the description and Open Graph description in sync. - Publications live in
publications.json. Each entry hastitle,authors,venue, an optionalurl(linked from the title), andselected(only selected entries are shown, in file order). Suffix an author with*for equal contribution or†for equal advising; use an emptyauthorslist to withhold authors (e.g. for anonymous review). Each selected entry also needstopics, a list of ids from the top-leveltopicsarray; these drive the topic tabs above the list (the renderer fails if one is missing or unknown). After editing, runpython3 tools/render_publications.pyto regenerate the HTML between thePUBLICATIONS:START/PUBLICATIONS:ENDmarkers inindex.html. - Each publication can set
thumbnailto a 640x400 (16:10) WebP inimages/publications/; entries without one show a text card (short_title, or the title before its colon). Make thumbnails withtools/make_thumbnail.py, either from a figure region in a PDF (--page,--rectin PDF points) or from a PNG/JPG. Schematic thumbnails are TikZ drawings inimages/publications/tikz/(shared style inthumbstyle.tex); rebuild them withtools/build_tikz_thumbnails.sh. Both tools need PyMuPDF and Pillow, and the TikZ build needspdflatexwithfontawesome5. - News, talks, additional biography, and contact links are omitted.
- The displayed portrait is
images/profile-placeholder.png; the original photo is retained asimages/profile.jpg. The existingresume.pdfbelongs to the previous template's author and is intentionally not linked; replace it with your own résumé before adding a résumé link. - Adjust the theme and responsive layout in
styles.css. Theme initialization lives intheme.js; theme controls live inscripts.js. index_new.htmlandindex_backup.htmlredirect old bookmarks to the homepage.
Before committing changes:
python3 tools/render_publications.py --check
git diff --checkPush to main to deploy through the existing GitHub Pages configuration.
The layout follows Jonas Hübotter's al-folio site, with fonts matching jyopari.github.io.
The al-folio MIT license is retained in
assets/licenses/al-folio.txt. Text uses IBM Plex Sans, with IBM Plex Mono for small labels such as news dates. Both are served
locally from assets/fonts/ibm-plex-*.woff2 (SIL Open Font License in assets/fonts/IBM-PLEX-OFL.txt). The repository's existing MIT license is
preserved in LICENSE.
Saved asset: images/profile-placeholder.png. Generated with the built-in
imagegen tool, using images/profile.jpg as the reference. The original photo
is unchanged.
Generation prompt:
Transform the reference portrait into a simple, friendly 2D cartoon avatar for an academic website. Preserve the person's recognizable dark side-swept hair, rectangular glasses, face shape, and light gray shirt. Use clean linework, soft flat colors, a subtle smile, and a plain warm off-white background. Center a head-and-shoulders portrait in a square crop. Remove earbud wires. No text, logos, props, or watermark.
The displayed cartoon was then edited with the built-in imagegen tool to remove facial hair. Edit prompt:
Edit this cartoon portrait to remove the mustache completely. Make the entire upper lip and the skin around the mouth clean-shaven, with no mustache, beard, stubble, facial-hair strokes, or facial-hair shadow. Preserve the lips and smile. Change only the facial hair; keep the person's identity, face shape, eyes, eyebrows, glasses, hairstyle, gray shirt, pose, background, colors, illustration style, framing, and canvas dimensions unchanged.