From ec02afb6118797b09c5784af0f63f7746cddbed1 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Fri, 20 Feb 2026 16:10:15 +0100 Subject: [PATCH] fix: split education and languages into separate sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cv-education.njk no longer renders languages — use the standalone cv-languages section instead. --- .../components/sections/cv-education.njk | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/_includes/components/sections/cv-education.njk b/_includes/components/sections/cv-education.njk index da3e278..b7282e3 100644 --- a/_includes/components/sections/cv-education.njk +++ b/_includes/components/sections/cv-education.njk @@ -1,19 +1,17 @@ {# - CV Education & Languages Section + CV Education Section Data fetched from /cv/data.json via homepage plugin #} {% set hasEducation = cv and cv.education and cv.education.length %} -{% set hasLanguages = cv and cv.languages and cv.languages.length %} -{% if hasEducation or hasLanguages %} +{% if hasEducation %}

- {{ section.config.title or "Education & Languages" }} + {{ section.config.title or "Education" }}

- {% if hasEducation %} -
+
{% for item in cv.education %} {% if not filterType or item.educationType == filterType or not item.educationType %}
@@ -29,17 +27,5 @@ {% endif %} {% endfor %}
- {% endif %} - - {% if hasLanguages and not filterType %} -
- {% for lang in cv.languages %} -
- {{ lang.name }} - {{ lang.level }} -
- {% endfor %} -
- {% endif %}
{% endif %}