Skip to content

Commit

Permalink
Merge pull request jglovier#41 from clyons/urls-optional-clyons
Browse files Browse the repository at this point in the history
Removed hardcoded URLs from Associations section in resume layout.
  • Loading branch information
Joel Glovier authored Aug 10, 2017
2 parents 69a0fcc + e412be7 commit 5064e88
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion _data/associations.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Associations
# comment out the urls if you do not wish to display them

- organization: Beer for the World
role: Volunteer
year: 2008 — Present
url: http://beerfortheworld.com
summary: Organized fund drives and participated in fundraising events for the benefit of families in third world countries without proper access to malt beverages.


- organization: Springfield Nuclear Workers Labor Union
role: Member in Good Standin
role: Member in Good Standing
year: 1994 — Present
url: http://snwlu.org
summary: Founding member of the local nuclear workers labor union.
4 changes: 4 additions & 0 deletions _data/projects.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Projects
# uncomment the urls if you wish to display them, and add your own URL

# donutfinder.io
- project: donutfinder.io
role: Founder & Primary Developer
duration: 2012 — Present
# url: "#"
description: Donut Locator is an open source node/ember app that lets users find donuts within a defined radius from their home.

#Springfield Donut Eater's User Group
- project: Springfield Donut Eater's User Group
role: Co-Founder & Organizer
duration: 2007 — Present
# url: "#"
description: DEUG is a local monthly meetup in Springfield where we share all the latest tips and tricks for dat donut lifestyle. I organize the group, and typically eat most of the donuts.
4 changes: 2 additions & 2 deletions _layouts/resume.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h2>Projects</h2>

{% for project in site.data.projects %}
<div class="resume-item" itemscope itemprop="worksFor" itemtype="http://schema.org/Organization">
<h3 class="resume-item-title" itemprop="name">{{ project.project }}</h3>
<h3 class="resume-item-title" itemprop="name">{% if project.url %}<a href="{{ project.url }}">{{ project.project }}</a>% else %}{{ project.project }}{% endif %}</h3>
<h4 class="resume-item-details" itemprop="description">{{ project.role }} &bull; {{ project.duration }}</h4>
<p class="resume-item-copy">{{ project.description }}</p>
</div>
Expand Down Expand Up @@ -152,7 +152,7 @@ <h2>Associations</h2>

{% for association in site.data.associations %}
<div class="resume-item">
<h3 class="resume-item-title"><a href="http://beerfortheworld.com">{{ association.organization }}</a></h3>
<h3 class="resume-item-title">{% if association.url %}<a href="{{ association.url }}">{{ association.organization }}</a>{% else %}{{ association.organization }}{% endif %}</h3>
<h4 class="resume-item-details">{{ association.role }} &bull; {{ association.year }}</h4>
<p class="resume-item-copy">{{ association.summary }}</p>
</div>
Expand Down

0 comments on commit 5064e88

Please sign in to comment.