feat: add personal/work project section templates

- cv-projects-personal.njk: filters projects with projectType=personal (or unset)
- cv-projects-work.njk: filters projects with projectType=work
- CV page now only shows work projects
- Homepage section dispatcher routes both new types

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ricardo
2026-02-13 11:24:34 +01:00
parent 28bc7a6c1b
commit dcccf29713
4 changed files with 147 additions and 3 deletions

6
cv.njk
View File

@@ -61,9 +61,9 @@ pagefindIgnore: true
{% set section = { type: "cv-skills", config: {} } %}
{% include "components/sections/cv-skills.njk" ignore missing %}
{# Projects #}
{% set section = { type: "cv-projects", config: {} } %}
{% include "components/sections/cv-projects.njk" ignore missing %}
{# Work Projects (only work-related projects on the CV page) #}
{% set section = { type: "cv-projects-work", config: {} } %}
{% include "components/sections/cv-projects-work.njk" ignore missing %}
{# Education & Languages #}
{% set section = { type: "cv-education", config: {} } %}