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 %}