- Edit
data/portfolio.yaml - Add a new entry with the following structure:
- title: "Article Title"
description: "Brief description (1-2 sentences)"
category: "articles" # or "journalism"
publication: "Publication Name"
date: "2025-01-15" # YYYY-MM-DD format
link: "https://example.com/article"
image: "/images/article-image.jpg" # Optional- Profile Picture: Replace
/static/images/profilePic.jpeg - Resume/CV: Replace files in
/static/pdfs/ - Bio: Edit
/content/about-me.md - Research: Edit
/content/research-background.md
Edit /assets/css/custom.css:
- Primary colors: Lines 4-21 (Light mode)
- Dark mode colors: Lines 24-41
- Accent color (gold):
--accent-color: #BFA181
The contact form uses Formspree (ID: mvgrndyl). To change:
- Edit form action in
/layouts/index.html(line ~688) - Edit form action in
/layouts/_default/contact.html(line ~233)
Key mobile breakpoints:
- 768px: Mobile layout
- 900px: Hero section stacks
- 1200px: Medium screens
# Clean build cache
rm -rf public/ resources/
# Rebuild site
hugo --minify# Kill existing Hugo server
pkill -f "hugo server"
# Start fresh
hugo server -DCheck workflow status:
gh run list --limit 5- Images: Keep under 500KB, use WebP format when possible
- CSS: Minified automatically by Hugo
- JavaScript: Minimal JS for better performance
- Fonts: Only load necessary font weights
- Never commit sensitive information
- Form submissions handled by Formspree (external service)
- All external links use
rel="noopener noreferrer" - Content Security Policy headers via GitHub Pages
Important files to backup regularly:
/data/portfolio.yaml- Portfolio content/content/- All markdown files/static/pdfs/- CV and resume/config.yaml- Site configuration