A minimal personal academic website.
index.html: Main profile page (Bio, Interests, Contact).curriculum.html: Detailed list of courses (linked from homepage).notes.html: Long-form notes / essays (订阅).library.html: Downloadable notes library, organized by subject folders.assets/js/data.js: Contains all text data (Bio, Courses, Projects) for easy editing.assets/js/library-data.js: Auto-generated manifest of the notes library — do not edit by hand.scripts/build-library.js: Scanslibrary/and regenerateslibrary-data.js.assets/css/style.css: Custom minimalist styles.
Open assets/js/data.js to modify your:
- Bio: Under
profile. - Courses: Under
curriculum. - Projects/Interests: Under
projects(if used).
Edit assets/css/style.css to change fonts, colors, or layout.
The library.html page lists downloadable study notes, where each subject folder under library/ is one collection. The site is fully static, so the file list is baked into assets/js/library-data.js by a scan script.
To add or update notes:
- Put (or remove) files inside
library/<合集名>/— e.g.library/西方哲学史/讲义.pdf. Any format works (md / pdf / docx / pptx ...). - Run
node scripts/build-library.jsevery time you change files inlibrary/. This regenerateslibrary-data.js; if you skip it, the page will NOT reflect your changes. - Commit and push (
git add . && git commit && git push) — include both your files and the regeneratedlibrary-data.js.
Optional: add a _meta.json inside a collection folder with { "title": "...", "desc": "..." } to override the displayed title/description (the folder name is used by default). The .nojekyll file at the repo root keeps GitHub Pages from filtering such files.