Add iteration through multiple awards for education. This allows multiple bulleted “award” entries to be present in the “Awards” item, for those with multiple entries.

This commit is contained in:
Adam Sealey
2017-12-04 22:02:19 -08:00
parent da91f9bd5c
commit 743461fdf0
2 changed files with 13 additions and 2 deletions
+3 -1
View File
@@ -2,5 +2,7 @@
- degree: Associates Degree, Business Management - degree: Associates Degree, Business Management
uni: Springfield College uni: Springfield College
year: 1984 — 1986 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 summary: If you had any meaningful roles at college, feel free to write about them here
+10 -1
View File
@@ -78,7 +78,16 @@
<div class="resume-item" itemscope itemprop="alumniOf" itemtype="http://schema.org/CollegeOrUniversity"> <div class="resume-item" itemscope itemprop="alumniOf" itemtype="http://schema.org/CollegeOrUniversity">
<h3 class="resume-item-title" itemprop="name">{{ education.uni }}</h3> <h3 class="resume-item-title" itemprop="name">{{ education.uni }}</h3>
<h4 class="resume-item-details group" itemprop="description">{{ education.degree }} &bull; {{ education.year }}</h4> <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.awards }}</h5>
<h5 class="resume-item-details award-title" itemprop="description">{{ education.awards2 }}</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> <p class="resume-item-copy">{{ education.summary }}</p>
</div> </div>
{% endfor %} {% endfor %}