Skip to content

About

This is my personal portfolio website. The home page is based off of Dr. Devin Silvia's Professional Portfolio Template. Additional features such as multi-page and broader media support have been added.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Arkesh Das Portfolio Website

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.

Overview

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.

Repository Structure

.
├── 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

Folder Guide

This is the main place where site content lives.

Jinja templates define the actual page structure.

Static source assets live here.

  • static/css/base.css contains 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/

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.

Set-up

This project uses uv for Python dependency management.

Install dependencies from the repository root:

uv sync

This creates a local .venv/ and installs the packages defined in pyproject.toml and uv.lock.

Quick Start

To build the static site:

uv run python build.py

To preview it locally:

uv run python serve.py

By default, the preview server serves dist/ at:

http://localhost:8000

You can also use the Makefile shortcuts:

make sync
make build
make serve

Before committing changes, run:

make check

This runs the source consistency check, rebuilds the site, verifies dist/index.html exists, and prints git status.

Editing the Website

Main configuration

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.

Headshots

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.

Search verification

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.

Writing posts

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.

Blog media

Standard Markdown images work inside post content:

![Alt text](img/example.png)

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_summary

Supported sizes are small, medium, large, and full.

Supported alignments are left, center, and right.

Supported placements are currently:

  • after_summary for individual post pages
  • card for Writing page cards

Projects

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.

CV timeline

The CV page is driven by content/cv.yaml.

Timeline items support:

  • date
  • category
  • title
  • organization
  • description
  • relevant_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.

Themes

The active theme is set in portfolio_config.yaml:

theme: clinical

The 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: Dark

To change the toggle pairing, update only the light_theme and dark_theme values.

Available themes:

  • clinical
  • clinical-dark
  • light
  • dark
  • msu-light
  • msu-dark

The theme files are expected to have matching selector coverage. This is checked by tools/check_consistency.py.

Build and Validation

The build process does the following:

  1. Reads portfolio_config.yaml.
  2. Loads profile, project, writing, scholarship, CV, and about YAML.
  3. Converts Markdown fields to HTML.
  4. Renders Jinja templates into dist/.
  5. Copies only referenced static assets.
  6. Combines static/css/base.css, the selected theme, and any configured toggle theme into dist/css/site.css.
  7. Writes .nojekyll for 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 check

Deployment

The site deploys through GitHub Pages using GitHub Actions.

The deployment workflow:

  1. installs uv
  2. sets up Python from .python-version
  3. runs uv sync --locked
  4. runs tools/check_consistency.py
  5. builds the site into dist/
  6. uploads dist/ as the Pages artifact
  7. 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.

Reproducibility Notes

This repository is meant to be reproducible from source.

If you clone the repo and run:

uv sync
make check

you 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.

Attribution

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.

Note About AI Assistance

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.

Author

Arkesh Das

License

This repository preserves the original MIT License. See LICENSE for details.

About

This is my personal portfolio website. The home page is based off of Dr. Devin Silvia's Professional Portfolio Template. Additional features such as multi-page and broader media support have been added.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages