This repository contains the source code and content for my personal portfolio website. It's a static site containing a home-page, blog/writing section, additional pages about research and projects, and a CV experience timeline.
The site started from Devin Silvia's Professional Portfolio Template, but I adapted it into a multi-page website.
The site is source-driven. Most content lives in YAML files, the page layouts live in Jinja templates, and build.py turns everything into static HTML under dist/.
The website has five main pages:
- Home: hero section, featured video, projects, about preview, writing preview, and contact
- Scholarship: research projects, paper/talk links, posters, and research context
- CV: reverse-chronological experience timeline, category filters, coursework reveals, honors, and skills
- Writing: self-hosted essays plus archival links to older posts
- About: a more personal narrative page
The goal of this codebase is to both generate my website and to act as a reproducable template to make a website without manually editing generated HTML. You can also use Google Search Console to generate a HTML tag to make the portfolio searchable on Google.
.
├── LICENSE
├── Makefile
├── README.md
├── build.py
├── content/
│ ├── about.yaml
│ ├── arkesh.yaml
│ ├── blog/
│ ├── cv.yaml
│ ├── example_student.yaml
│ ├── projects/
│ └── scholarship.yaml
├── portfolio_config.yaml
├── pyproject.toml
├── serve.py
├── static/
│ ├── css/
│ ├── img/
│ └── pdf/
├── templates/
│ ├── macros/
│ ├── sections/
│ └── *.html
├── tools/
│ └── check_consistency.py
└── uv.lock
This is the main place where site content lives.
content/arkesh.yamlcontrols profile data, homepage hero text, contact links, the headshot, and featured video metadata.content/scholarship.yamlcontrols the Scholarship page.content/cv.yamlcontrols the CV timeline, awards, coursework reveals, and skill list.content/about.yamlcontrols the About page.content/projects/contains project cards shown on the homepage.content/blog/contains writing entries and self-hosted post bodies.content/drafts/is for local drafts that should not be published.
Jinja templates define the actual page structure.
templates/base.htmlis the shared page shell.templates/index.htmlassembles homepage sections.templates/writing.htmlrenders the Writing page.templates/post.htmlrenders individual writing posts.templates/cv.htmlrenders the timeline, filters, awards, and skills.templates/scholarship.htmlrenders the Scholarship page.templates/macros/media.htmlcontains reusable blog media helpers.
Static source assets live here.
static/css/base.csscontains layout, spacing, typography, responsiveness, and component structure.static/css/themes/contains swappable color themes.static/img/contains source images.static/pdf/contains PDFs copied into the generated site when referenced.
dist/ is generated by the build process and ignored by git. It is the local preview and deployment artifact (so you can preview the website before deploying to the remote repo).
Do not edit files in dist/ directly. Edit YAML, templates, or CSS, then rebuild.
This project uses uv for Python dependency management.
Install dependencies from the repository root:
uv syncThis creates a local .venv/ and installs the packages defined in pyproject.toml and uv.lock.
To build the static site:
uv run python build.pyTo preview it locally:
uv run python serve.pyBy default, the preview server serves dist/ at:
http://localhost:8000
You can also use the Makefile shortcuts:
make sync
make build
make serveBefore committing changes, run:
make checkThis runs the source consistency check, rebuilds the site, verifies dist/index.html exists, and prints git status.
portfolio_config.yaml controls which content files are loaded and in what order.
Important fields include:
student_file: content/arkesh.yaml
scholarship_file: content/scholarship.yaml
cv_file: content/cv.yaml
about_file: content/about.yaml
projects:
- content/projects/MSU_Cirric.yaml
writing_posts:
- content/blog/scared.yaml
theme: clinical
site_title: "Arkesh Das | Portfolio"
google_site_verification: ""The order of projects controls the homepage project order. The order of writing_posts controls the Writing page and homepage writing preview order.
The homepage headshot is controlled by content/arkesh.yaml. headshot is the default/fallback image, and headshots powers the homepage carousel:
headshot: img/headshots/headshot-ut-2026.jpg
headshots:
- path: img/headshots/headshot-ut-2026.jpg
alt: Headshot of Arkesh Das in a white coat.
- path: img/headshots/headshot-web.jpg
alt: Headshot of Arkesh Das.Add new carousel images to static/img/headshots/, then add them to the headshots list in display order.
Google Search Console verification can be added through portfolio_config.yaml:
google_site_verification: "your-verification-token"Paste only the content value from Google's meta tag. The build renders it into the shared <head> template, so it survives rebuilds and appears on every generated page.
Each post in content/blog/ follows the same basic schema:
title:
date:
featured:
show_on_home:
slug:
has_original_post:
original_post_url:
image_path:
images:
media:
short_summary:
content:The slug controls the final URL:
dist/writing/<slug>/index.html
Use has_original_post: true when a post has an external original version, such as an old blog post or PDF. Use has_original_post: false when the essay only lives on this site.
Set show_on_home: false when a post should stay on the Writing page but not appear on the homepage.
Standard Markdown images work inside post content:
For more controlled placement, use the media list:
media:
- path: "img/blog/example.png"
alt: "Descriptive alt text."
caption: "Optional caption."
size: large
align: center
placement: after_summarySupported sizes are small, medium, large, and full.
Supported alignments are left, center, and right.
Supported placements are currently:
after_summaryfor individual post pagescardfor Writing page cards
Project cards live in content/projects/.
Each project file includes fields for the title, summary, tech stack, problem statement, approach, impact, links, and image path. Example project files are still included as references, but the live project list is controlled only by portfolio_config.yaml.
The CV page is driven by content/cv.yaml.
Timeline items support:
datecategorytitleorganizationdescriptionrelevant_coursework
Categories are used to generate the filter chips on the CV page. Education entries can optionally include relevant_coursework, which renders as a collapsible "Relevant coursework" section.
The active theme is set in portfolio_config.yaml:
theme: clinicalThe light/dark toggle is also configured there. light_theme should usually match theme, so the site has the same default appearance when JavaScript is disabled.
theme_toggle:
enabled: true
light_theme: clinical
dark_theme: clinical-dark
light_label: Light
dark_label: DarkTo change the toggle pairing, update only the light_theme and dark_theme values.
Available themes:
clinicalclinical-darklightdarkmsu-lightmsu-dark
The theme files are expected to have matching selector coverage. This is checked by tools/check_consistency.py.
The build process does the following:
- Reads
portfolio_config.yaml. - Loads profile, project, writing, scholarship, CV, and about YAML.
- Converts Markdown fields to HTML.
- Renders Jinja templates into
dist/. - Copies only referenced static assets.
- Combines
static/css/base.css, the selected theme, and any configured toggle theme intodist/css/site.css. - Writes
.nojekyllfor GitHub Pages.
The consistency checker currently verifies:
- all published blog posts follow the blog post template keys
- all theme files expose matching CSS selectors in the same order
Run the full local check with:
make checkThe site deploys through GitHub Pages using GitHub Actions.
The deployment workflow:
- installs
uv - sets up Python from
.python-version - runs
uv sync --locked - runs
tools/check_consistency.py - builds the site into
dist/ - uploads
dist/as the Pages artifact - deploys to GitHub Pages
GitHub Pages should be configured as:
Source: GitHub Actions
dist/ is intentionally not tracked. The source files, not generated HTML, are what should be committed.
This repository is meant to be reproducible from source.
If you clone the repo and run:
uv sync
make checkyou should get a fresh dist/ folder containing the same static site structure used for deployment.
The current workflow is intentionally lightweight. There is no database, backend server, or external build service required beyond GitHub Actions for deployment.
This site began from Devin Silvia's Professional Portfolio Template and has since been substantially modified for a multi-page personal portfolio, writing system, CV timeline, and broader media support.
The original template was drafted and built with the help of Claude.
This portfolio has also been developed and revised with AI assistance, including ChatGPT/Codex. Generated code and content changes have been reviewed, edited, and tested before use.
Arkesh Das
This repository preserves the original MIT License. See LICENSE for details.