A static academic profile website powered by YAML configuration and deployed on GitHub Pages.
-
Install dependencies:
pip install -r requirements.txt
-
Edit your data: Update
data.yamlwith your information (name, role, publications, etc.) -
Build the site:
python build.py
This generates
index.htmlfrom your YAML data. -
Preview locally:
python -m http.server 8000
Visit
http://localhost:8000 -
Deploy:
git add index.html data.yaml git commit -m "Update profile" git push
- Go to your repository settings on GitHub
- Navigate to Pages (under "Code and automation")
- Set Source to "Deploy from a branch"
- Select your branch (e.g.,
masterormain) - Save and wait a few minutes
- Visit
https://albertyusun.github.io
Edit data.yaml to update:
- Personal information (name, role, company, location)
- Contact links (Google Scholar, LinkedIn, etc.)
- Research news
- Publications
- Previous experiences
albertyusun.github.io/
├── build.py # Build script (generates static HTML)
├── data.yaml # Your profile data (edit this!)
├── index.html # Generated static site (committed to git)
├── requirements.txt # Python dependencies for building
├── templates/
│ └── index_static.html # Jinja2 template
└── static/
├── css/
│ └── style.css # Styles
└── images/
└── albert.jpeg # Your profile photo
These files are used for development but not deployed to GitHub Pages:
app.py- Original Flask application (kept for reference)templates/index.html- Original Flask templatebuild.py- Build scripttemplates/index_static.html- Static template
- Photo: Replace
static/images/albert.jpegwith your photo - Data: Update
data.yamlwith your information - Styling: Modify
static/css/style.css - Template: Edit
templates/index_static.html
After changes, always run python build.py to regenerate index.html.