Skip to content

xuyhan/xuyhan.github.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xuyhan.github.io

My personal website. Plain HTML/CSS/JS — no build step, no dependencies. Styled after the classic academic single-page template (Lato type, blue/orange links), but with a responsive flexbox layout so it works on mobile.

index.html        the whole page (edit this)
stylesheet.css    all styling (colors + layout live at the top)
script.js         optional hover-GIF thumbnails + auto footer year
images/           profile photo, paper thumbnails, favicon
files/            put your cv.pdf here (linked from the header)
.nojekyll         tells GitHub Pages to serve files as-is (no Jekyll build)

Edit checklist

Everything you need to change is in index.html, marked with EDIT ME comments and [bracketed] placeholders. In order of importance:

  1. Name — confirm the spelling of "Han Xu" (I inferred it from your GitHub display name + handle; fix it if it's wrong).
  2. Bio — three short paragraphs in the header. Fill in the [brackets].
  3. Links row — Email is set to hxuany0@gmail.com and GitHub to xuyhan. Add your real Scholar / Twitter / LinkedIn handles, or delete any line you don't want. (Consider whether you want a personal Gmail public here vs. an institutional address.)
  4. Photo — drop a real photo at images/profile.svg's spot; a square .jpg/.png ~600×600 looks best. Update the <img src> if you change the filename.
  5. News / Research / Selected Papers — the entries are illustrative examples. Replace with your real content; duplicate a .pub block per paper.

Preview locally

Any static server works, e.g.:

python3 -m http.server 8000
# then open http://localhost:8000

Deploy — replace the old xuyhan.github.io

Your old repo is an untouched Jekyll template; these steps overwrite it while keeping the repo (and its URL, stars, history). Run from this folder:

# 1. point this repo at your GitHub Pages repo
git remote add origin https://github.com/xuyhan/xuyhan.github.io.git

# 2. commit
git add -A
git commit -m "Rebuild personal site from scratch"

# 3. replace whatever is on the default branch
#    (force-push overwrites the old template completely)
git branch -M main
git push -f origin main

Then in the repo on GitHub: Settings → Pages → Build and deployment → Source: "Deploy from a branch" → Branch: main / (root) → Save. Give it a minute; the site goes live at https://xuyhan.github.io.

Note: the old repo's default branch may be master. If you'd rather keep that branch name, use git branch -M master and git push -f origin master, and set Pages to serve from master.

About

A beautiful, simple, clean, and responsive Jekyll theme for academics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 72.7%
  • CSS 21.3%
  • JavaScript 6.0%