Personal website and blog for Maxwell McCormick. Hand-written static HTML + CSS, hosted on GitHub Pages. No framework, no build step, no dependencies to keep alive.
Live at https://notmaxwell.github.io/.
python3 serve.py # Serves the site at http://localhost:8000Changes to files show up on reload — no restart needed.
python3 convert.py # Convert all posts
python3 convert.py --watch # Auto-rebuild on saveRequires pandoc on PATH (brew install pandoc, or choco install pandoc on
Windows). See posts/WORKFLOW.md for the post-writing flow.
assets/resume.md is the source of truth; the .docx the site links is generated:
pandoc assets/resume.md -o assets/resume.docx --standaloneEdit the markdown, regenerate, and commit both.
/
├─ index.html ← Homepage
├─ projects/index.html ← Full project list
├─ robots.txt ← Crawler rules
├─ sitemap.xml ← Update when adding a page or post
├─ serve.py ← Local dev server
├─ convert.py ← Markdown → HTML converter
├─ .nojekyll ← Disables Jekyll
├─ assets/
│ ├─ favicon.svg
│ ├─ resume.md ← Resume source
│ ├─ resume.docx ← Generated from resume.md by pandoc
│ └─ css/site.css ← Shared theme; every page links this
└─ posts/
├─ index.html ← Blog listing (generated between the POSTS markers)
├─ template.html ← Post template
├─ WORKFLOW.md ← Blog instructions
└─ markdown/ ← Post sources
- One stylesheet.
assets/css/site.cssholds everything shared. Page-specific rules go in a<style>block after the<link>tag — never copy the theme into a page. - Generated regions are marked.
convert.pyowns the block between<!-- POSTS:START -->and<!-- POSTS:END -->inposts/index.html, and the title, meta description,<h1>, post-meta line and<main class="post-content">body of each generated post. Edit the markdown, not the generated HTML. - The name shown in generated post titles lives in one place:
SITE_AUTHORinconvert.py, which must matchposts/template.html. assets/resume.docxis generated. Editassets/resume.md, never the.docx.
GitHub Pages builds this site with the Actions workflow in
.github/workflows/static.yml, which runs only on
pushes to the production branch. Pushing to main does not publish anything.
Day-to-day flow:
# 1. Work on main
git add . && git commit -m "message" && git push origin main
# 2. Check it locally
python3 serve.py
# 3. Publish when you're happy with it
git checkout production
git merge main
git push origin production # ← this is what triggers the deploy
git checkout mainYou can also publish without a merge by running the workflow by hand from the
repository's Actions tab (it allows workflow_dispatch), but it still builds
from production, so the branch has to be up to date first.