Merge pull request #50 from asealey/enable-multple-education-awards

Add iteration through multiple awards for education.
This commit is contained in:
Joel Glovier
2017-12-11 20:56:19 -05:00
committed by GitHub
2 changed files with 19 additions and 3 deletions
+9 -1
View File
@@ -2,5 +2,13 @@
- 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
- 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
+9 -1
View File
@@ -78,7 +78,15 @@
<div class="resume-item" itemscope itemprop="alumniOf" itemtype="http://schema.org/CollegeOrUniversity">
<h3 class="resume-item-title" itemprop="name">{{ education.uni }}</h3>
<h4 class="resume-item-details group" itemprop="description">{{ education.degree }} &bull; {{ education.year }}</h4>
<h5 class="resume-item-details award-title" itemprop="description">{{ education.awards }}</h5>
<h5 class="resume-item-details award-title" itemprop="description">{{ education.award }}</h5>
<p class="resume-item-copy" itemprop="description">
<ul class="resume-item-list">
{% for award in education.awards %}
<li>{{ award.award }}</li>
{% endfor %}
</ul></h5>
<p class="resume-item-copy">{{ education.summary }}</p>
</div>
{% endfor %}