From 743461fdf06b437fa1ea89a4221b46eb9060de6a Mon Sep 17 00:00:00 2001 From: Adam Sealey Date: Mon, 4 Dec 2017 22:02:19 -0800 Subject: [PATCH 1/2] =?UTF-8?q?Add=20iteration=20through=20multiple=20awar?= =?UTF-8?q?ds=20for=20education.=20=20This=20allows=20multiple=20bulleted?= =?UTF-8?q?=20=E2=80=9Caward=E2=80=9D=20entries=20to=20be=20present=20in?= =?UTF-8?q?=20the=20=E2=80=9CAwards=E2=80=9D=20item,=20for=20those=20with?= =?UTF-8?q?=20multiple=20entries.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _data/education.yml | 4 +++- _layouts/resume.html | 11 ++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/_data/education.yml b/_data/education.yml index 35aac60..7d7415c 100644 --- a/_data/education.yml +++ b/_data/education.yml @@ -2,5 +2,7 @@ - degree: Associates Degree, Business Management uni: Springfield College year: 1984 — 1986 - awards: Quickest to fall asleep + awards: + - award: Quickest to fall asleep + - award: Fastest donut eater summary: If you had any meaningful roles at college, feel free to write about them here diff --git a/_layouts/resume.html b/_layouts/resume.html index 6099869..330591c 100644 --- a/_layouts/resume.html +++ b/_layouts/resume.html @@ -78,7 +78,16 @@

{{ education.uni }}

{{ education.degree }} • {{ education.year }}

-
{{ education.awards }}
+ +

+

+ +

{{ education.summary }}

{% endfor %} From 6a9fb34a7f16727c312e6efeb4c087d1f5dd02f6 Mon Sep 17 00:00:00 2001 From: Adam Sealey Date: Wed, 6 Dec 2017 22:55:37 -0800 Subject: [PATCH 2/2] Add ability to have have either one award, or multiple. --- _data/education.yml | 6 ++++++ _layouts/resume.html | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/_data/education.yml b/_data/education.yml index 7d7415c..4fa0ec1 100644 --- a/_data/education.yml +++ b/_data/education.yml @@ -6,3 +6,9 @@ - award: Quickest to fall asleep - award: Fastest donut eater summary: If you had any meaningful roles at college, feel free to write about them here + +- degree: High School Diploma + uni: Springfield High + year: 1984 + award: Least likely to graduate College + summary: You can choose to have either a single or multiple awards diff --git a/_layouts/resume.html b/_layouts/resume.html index 330591c..f70373c 100644 --- a/_layouts/resume.html +++ b/_layouts/resume.html @@ -78,8 +78,7 @@

{{ education.uni }}

{{ education.degree }} • {{ education.year }}

- +
{{ education.award }}

    {% for award in education.awards %} @@ -239,4 +238,4 @@ - \ No newline at end of file +