Skip to content

Commit

Permalink
Merge pull request jglovier#50 from asealey/enable-multple-education-…
Browse files Browse the repository at this point in the history
…awards

Add iteration through multiple awards for education.
  • Loading branch information
Joel Glovier authored Dec 12, 2017
2 parents da91f9b + 6a9fb34 commit 7b2e8c2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
10 changes: 9 additions & 1 deletion _data/education.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 10 additions & 2 deletions _layouts/resume.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,15 @@ <h2>Education</h2>
<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 %}
Expand Down Expand Up @@ -230,4 +238,4 @@ <h2>Social Links</h2>

</body>

</html>
</html>

0 comments on commit 7b2e8c2

Please sign in to comment.