How achrafhasnaoui31/portfolio works
This is a data-driven Hugo technical portfolio. The principal workflow is profile data and Markdown case studies flowing through Hugo templates into a static site for recruiters and technical reviewers; the site also provides project browsing, CV access, contact details, and lightweight navigation and animation behavior. The README documents the rendering relationships, while the sampled JavaScript shows its DOM interactions. The management CLI is included as a content-authoring tool. Unsampled template details are represented only where the README supports the relationship.
Main entry points: index.html Homepage Layout · partials Shared Site Shell · manage.py Portfolio Management CLI · portfolio.yaml Profile Data
Components 16
Portfolio Content
- Profile Data
data/portfolio.yaml - Localized Data
data - Project Case Studies
content/projects - Role-specific CVs
static/cv
Hugo Rendering
- Hugo Generator
- Homepage Layout
layouts/index.html - Homepage Sections
layouts/partials/sections - Project Listing
layouts/projects/list.html - Project Detail
layouts/projects/single.html - Shared Site Shell
layouts/partials - Contact Section
layouts/partials/sections/contact.html
Visitor Experience
- Responsive Styling
static/css/style.css - Browser Interactions
static/js/main.js - Static Portfolio
Content Authoring
- Portfolio Management CLI
scripts/manage.py
Other components
- Portfolio Visitor
Connections 19
- Portfolio Visitor → Static Portfolio: views
README.md - Profile Data → Hugo Generator: loads data
README.md - Localized Data → Hugo Generator: loads data
README.md - Project Case Studies → Hugo Generator: loads content
README.md - Hugo Generator → Homepage Layout: renders
README.md - Hugo Generator → Project Listing: renders
README.md - Hugo Generator → Project Detail: renders
README.md - Homepage Layout → Homepage Sections: composes
README.md - Homepage Layout → Shared Site Shell: uses templates
README.md - Project Listing → Shared Site Shell: uses templates
README.md - Project Detail → Shared Site Shell: uses templates
README.md - Hugo Generator → Static Portfolio: generates
README.md - Responsive Styling → Static Portfolio: styles
README.md - Browser Interactions → Static Portfolio: enhances
README.md - Role-specific CVs → Static Portfolio: provides downloads
README.md - Contact Section → Static Portfolio: presents contact
README.md - Portfolio Management CLI → Profile Data: updates data
scripts/manage.py - Portfolio Management CLI → Project Case Studies: creates case studies
scripts/manage.py - Portfolio Visitor → Browser Interactions: uses controls
static/js/main.js