Skip to content

Commit

Permalink
Added relevant moduels
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymt committed Feb 5, 2018
1 parent d6958b0 commit dd450cd
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 2 deletions.
33 changes: 33 additions & 0 deletions _includes/print-education.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

{% assign content = site.data.education %}
<section class="content-section">
<header class="section-header">
<h2>Education</h2>
</header>

{% for c in content %}
<div class="resume-item" itemscope itemprop="alumniOf" itemtype="http://schema.org/CollegeOrUniversity">
<div class="col-1-4">
<h3 class="resume-item-title" itemprop="name">
{% if c.url %}<a href="{{ c.url }}" itemprop="url">{% endif %}
{{ c.title }}
{% if c.url %}</a>{% endif %}
</h3>
<h4 class="resume-item-details" itemprop="description">
{{ c.secondary }}
</h4>
<h5>{{ c.year }}</h5>
</div>

<ul class="summary-bullets col-3-4">
{% for p in c.summary %}
<li class="resume-item-copy">{{p | markdownify}}</li>
{% endfor %}
<li class="resume-item-copy resume-item-copy-header no-print">Relevant Modules</li>
{% for p in c.relevant_modules %}
<li class="resume-item-copy no-print">{{p | markdownify}}</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</section>
12 changes: 11 additions & 1 deletion _sass/_resume.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,15 @@ h5 {
}
}

li.resume-item-copy.resume-item-copy-header {
font-weight: bold;
list-style-type: none;
margin-top: 8px;
display: block;
left: -21px;
position: relative;
}

.skills-bullets {
display: inline-block;
}
Expand Down Expand Up @@ -430,7 +439,7 @@ h5 {
}

.content-section {
margin: 0 0 10px;
margin: 0 0 8px;

.resume-item {
margin-bottom: 0;
Expand All @@ -441,6 +450,7 @@ h5 {

.resume-item:last-child {
border-bottom: 0 !important;
padding-bottom: 0;
}

.resume-item-title {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

{% include print-content.html content = site.data.experience name = "Experience" schema = "Organization" prop = "worksFor" %}

{% include print-content.html content = site.data.education name = "Education" schema = "CollegeOrUniversity" prop = "alumniOf" %}
{% include print-education.html %}

{% include print-skills.html %}

Expand Down

0 comments on commit dd450cd

Please sign in to comment.