Jiajun Du’s Personal Academic Website
A bilingual (Chinese/English) academic website built with Quarto and hosted on GitHub Pages.
🌐 Live Site
- English: https://JiajunDu-ReSustain.github.io/en/
- Chinese: https://JiajunDu-ReSustain.github.io/zh/
- Auto-detect: https://JiajunDu-ReSustain.github.io/
✨ Features
- 🌍 Bilingual Support: Full Chinese and English versions
- 🔄 Language Switcher: Automatic page-to-page language switching
- 🎨 Modern UI: Clean, professional academic design
- 📱 Responsive: Works on all devices
- 🚀 Fast: Static HTML for optimal performance
- 🔍 Searchable: Built-in search for each language
- 📄 PDF Support: Direct access to publications
🛠️ Technology Stack
- Static Site Generator: Quarto
- Hosting: GitHub Pages
- Language Switcher: Vanilla JavaScript (no dependencies)
- Styling: Custom SCSS with Bootstrap
📁 Project Structure
.
├── zh/ # Chinese content
├── en/ # English content
├── docs/ # Rendered output (served by GitHub Pages)
│ ├── zh/ # Chinese HTML
│ ├── en/ # English HTML
│ └── index.html # Root redirect
├── assets/ # JavaScript files
├── images/ # Images and icons
├── pdf/ # Publication PDFs
└── build.bat/sh # Build scripts
🚀 Quick Start
Prerequisites
- Quarto 1.8 or higher
Building the Site
Windows:
build.batLinux/Mac:
chmod +x build.sh
./build.shManual build:
cd zh && quarto render && cd ..
cd en && quarto render && cd ..
xcopy /E /I /Y assets docs\assets
xcopy /E /I /Y images docs\images
xcopy /E /I /Y pdf docs\pdfLocal Preview
# Preview Chinese version
quarto preview docs/zh
# Preview English version
quarto preview docs/en📖 Documentation
- BUILD_GUIDE.md - Detailed build instructions
- GIT_WORKFLOW.md - Git workflow and deployment
- IMPLEMENTATION_SUMMARY.md - Implementation details
🔧 Adding New Content
- Create
.qmdfiles in bothzh/anden/directories - Add navigation entries to
zh/_quarto.ymlanden/_quarto.yml - Run the build script
- Commit and push
The language switcher will automatically handle the new pages!
📝 License
See LICENSE file for details.
🙏 Acknowledgments
- Built with Quarto
- Hosted on GitHub Pages
- Inspired by modern academic websites