Merge pull request #9 from dgitman/jglovier

Initial resume structured data implementation
This commit is contained in:
Joel Glovier
2016-03-23 10:43:12 -04:00
2 changed files with 28 additions and 28 deletions
+7 -7
View File
@@ -4,37 +4,37 @@
<!-- GitHub link --> <!-- GitHub link -->
{% if site.resume_social_links.resume_github_url %} {% if site.resume_social_links.resume_github_url %}
<li class="icon-link-item"><a href="{{ site.resume_social_links.resume_github_url }}" class="icon-link">{% include icons/icon-github.html %}</a></li> <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_github_url }}" class="icon-link" itemprop="url">{% include icons/icon-github.html %}</a></li>
{% endif %} {% endif %}
<!-- Twitter link --> <!-- Twitter link -->
{% if site.resume_social_links.resume_twitter_url %} {% if site.resume_social_links.resume_twitter_url %}
<li class="icon-link-item"><a href="{{ site.resume_social_links.resume_twitter_url }}" class="icon-link">{% include icons/icon-twitter.html %}</a></li> <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_twitter_url }}" class="icon-link" itemprop="url">{% include icons/icon-twitter.html %}</a></li>
{% endif %} {% endif %}
<!-- Dribbble link --> <!-- Dribbble link -->
{% if site.resume_social_links.resume_dribbble_url %} {% if site.resume_social_links.resume_dribbble_url %}
<li class="icon-link-item"><a href="{{ site.resume_social_links.resume_dribbble_url }}" class="icon-link">{% include icons/icon-dribbble.html %}</a></li> <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_dribbble_url }}" class="icon-link" itemprop="url">{% include icons/icon-dribbble.html %}</a></li>
{% endif %} {% endif %}
<!-- Facebook link --> <!-- Facebook link -->
{% if site.resume_social_links.resume_facebook_url %} {% if site.resume_social_links.resume_facebook_url %}
<li class="icon-link-item"><a href="{{ site.resume_social_links.resume_facebook_url }}" class="icon-link">{% include icons/icon-facebook.html %}</a></li> <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_facebook_url }}" class="icon-link" itemprop="url">{% include icons/icon-facebook.html %}</a></li>
{% endif %} {% endif %}
<!-- LinkedIn link --> <!-- LinkedIn link -->
{% if site.resume_social_links.resume_linkedin_url %} {% if site.resume_social_links.resume_linkedin_url %}
<li class="icon-link-item"><a href="{{ site.resume_social_links.resume_linkedin_url }}" class="icon-link">{% include icons/icon-linkedin.html %}</a></li> <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_linkedin_url }}" class="icon-link" itemprop="url">{% include icons/icon-linkedin.html %}</a></li>
{% endif %} {% endif %}
<!-- Instagram link --> <!-- Instagram link -->
{% if site.resume_social_links.resume_instagram_url %} {% if site.resume_social_links.resume_instagram_url %}
<li class="icon-link-item"><a href="{{ site.resume_social_links.resume_instagram_url }}" class="icon-link">{% include icons/icon-instagram.html %}</a></li> <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_instagram_url }}" class="icon-link" itemprop="url">{% include icons/icon-instagram.html %}</a></li>
{% endif %} {% endif %}
<!-- Website link --> <!-- Website link -->
{% if site.resume_social_links.resume_website_url %} {% if site.resume_social_links.resume_website_url %}
<li class="icon-link-item"><a href="{{ site.resume_social_links.resume_website_url }}" class="icon-link">{% include icons/icon-website.html %}</a></li> <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_website_url }}" class="icon-link" itemprop="url">{% include icons/icon-website.html %}</a></li>
{% endif %} {% endif %}
</ul> </ul>
+21 -21
View File
@@ -5,33 +5,33 @@
<body class="theme-{% if site.resume_theme %}{{ site.resume_theme }}{% endif %}"> <body class="theme-{% if site.resume_theme %}{{ site.resume_theme }}{% endif %}">
<div class="wrapper"> <div class="wrapper" itemscope itemtype="http://schema.org/Person">
<header class="page-header"> <header class="page-header">
<!-- You can turn off the avatar in _config.yml by setting to false --> <!-- You can turn off the avatar in _config.yml by setting to false -->
{% if site.resume_avatar == 'true' %} {% if site.resume_avatar == 'true' %}
<img src="images/avatar.jpg" alt="my photo" class="avatar"> <img src="images/avatar.jpg" alt="my photo" class="avatar" itemprop="image">
{% endif %} {% endif %}
<!-- Your name is defined in the _config.yml file --> <!-- Your name is defined in the _config.yml file -->
<h1 class="header-name">{{ site.resume_name }}</h1> <h1 class="header-name" itemprop="name">{{ site.resume_name }}</h1>
<div class="title-bar"> <div class="title-bar">
<!-- Your title is also defined in the _config.yml file --> <!-- Your title is also defined in the _config.yml file -->
<h2 class="header-title">{{ site.resume_title }}</h2> <h2 class="header-title" itemprop="jobTitle">{{ site.resume_title }}</h2>
<!-- This is the markup for the icon links; moved out to an include because it's very verbose, and you shouldn't ever need to edit the markup (unless you want to re-order the icons); if you want to customize which links appear, define them in the _config.yml file --> <!-- This is the markup for the icon links; moved out to an include because it's very verbose, and you shouldn't ever need to edit the markup (unless you want to re-order the icons); if you want to customize which links appear, define them in the _config.yml file -->
{% include icon-links.html %} {% include icon-links.html %}
</div> </div>
<div class="executive-summary"> <div class="executive-summary" itemprop="description">
<p>This is the executive summary. You should write a few brief, concise, and meaningful sentences about yourself from a professional context, and your immediate career goals. Make the length appropriate for your needs, but K.I.S.S.</p> <p>This is the executive summary. You should write a few brief, concise, and meaningful sentences about yourself from a professional context, and your immediate career goals. Make the length appropriate for your needs, but K.I.S.S.</p>
</div> </div>
{% if site.resume_looking_for_work == 'yes' %} {% if site.resume_looking_for_work == 'yes' %}
<a href="mailto:{{ site.resume_contact_email }}" class="contact-button">Contact me</a> <a href="mailto:{{ site.resume_contact_email }}" class="contact-button" itemprop="email">Contact me</a>
{% elsif site.resume_looking_for_work == 'no' %} {% elsif site.resume_looking_for_work == 'no' %}
<a class="contact-button not-looking">I'm not looking for work right now.</a> <a class="contact-button not-looking">I'm not looking for work right now.</a>
{% else %} {% else %}
@@ -48,9 +48,9 @@
</header> </header>
<!-- Duplicate these resume-item elements and edit accordingly for each job you want to add here --> <!-- Duplicate these resume-item elements and edit accordingly for each job you want to add here -->
<div class="resume-item"> <div class="resume-item" itemscope itemprop="worksFor" itemtype="http://schema.org/Organization">
<h3 class="resume-item-title">Springfield Nuclear Power Plant</h3> <h3 class="resume-item-title" itemprop="name">Springfield Nuclear Power Plant</h3>
<h4 class="resume-item-details">Safety Inspector &bull; Nov, 1980 &mdash; Present</h4> <h4 class="resume-item-details" itemprop="description">Safety Inspector &bull; Nov, 1980 &mdash; Present</h4>
<p class="resume-item-copy">Write about your core competencies in one or two sentences describing your position. If you held the position for a long time, it could be a longer section, including a couple bullet points:</p> <p class="resume-item-copy">Write about your core competencies in one or two sentences describing your position. If you held the position for a long time, it could be a longer section, including a couple bullet points:</p>
<ul class="resume-item-list"> <ul class="resume-item-list">
<li>Ate lots of donuts</li> <li>Ate lots of donuts</li>
@@ -62,17 +62,17 @@
</div><!-- end of resume-item --> </div><!-- end of resume-item -->
<!-- another resume item --> <!-- another resume item -->
<div class="resume-item"> <div class="resume-item" itemscope itemprop="worksFor" itemtype="http://schema.org/Organization">
<h3 class="resume-item-title">Sir Putt-A-Lot's Merrie Olde Fun Centre</h3> <h3 class="resume-item-title" itemprop="name">Sir Putt-A-Lot's Merrie Olde Fun Centre</h3>
<h4 class="resume-item-details">Windmill Crank Operator &bull; Jun, 1978 &mdash; Sept, 1979</h4> <h4 class="resume-item-details" itemprop="description">Windmill Crank Operator &bull; Jun, 1978 &mdash; Sept, 1979</h4>
<p class="resume-item-copy">If your stint was shorter, feel free to be brief and just call out the most meaningful points of your role. Be concise, and be meaninful. The person reading just needs enough to want to talk to you more about your experience.</p> <p class="resume-item-copy">If your stint was shorter, feel free to be brief and just call out the most meaningful points of your role. Be concise, and be meaninful. The person reading just needs enough to want to talk to you more about your experience.</p>
</div><!-- end of resume-item --> </div><!-- end of resume-item -->
<!-- by now you're getting the picture... --> <!-- by now you're getting the picture... -->
<div class="resume-item"> <div class="resume-item" itemscope itemprop="worksFor" itemtype="http://schema.org/Organization">
<h3 class="resume-item-title">Simpson Lazer Tag</h3> <h3 class="resume-item-title" itemprop="name">Simpson Lazer Tag</h3>
<h4 class="resume-item-details">Front Desk Attendant &bull; Jun, 1975 &mdash; May, 1978</h4> <h4 class="resume-item-details" itemprop="description">Front Desk Attendant &bull; Jun, 1975 &mdash; May, 1978</h4>
<p class="resume-item-copy">Boy, when Marge first told me she was going to the Police Academy, I thought it would be fun and exciting, you know, like the movie... Spaceballs. But instead, it's been painful and disturbing, like the movie Police Academy.</p> <p class="resume-item-copy">Boy, when Marge first told me she was going to the Police Academy, I thought it would be fun and exciting, you know, like the movie... Spaceballs. But instead, it's been painful and disturbing, like the movie Police Academy.</p>
</div><!-- end of resume-item --> </div><!-- end of resume-item -->
@@ -89,9 +89,9 @@
<h2>Education</h2> <h2>Education</h2>
</header> </header>
<div class="resume-item"> <div class="resume-item" itemscope itemprop="worksFor" itemtype="http://schema.org/CollegeOrUniversity">
<h3 class="resume-item-title">Springfield College</h3> <h3 class="resume-item-title" itemprop="name">Springfield College</h3>
<h4 class="resume-item-details">Associates Degree, Business Management &bull; 1984 &mdash; 1986</h4> <h4 class="resume-item-details" itemprop="description">Associates Degree, Business Management &bull; 1984 &mdash; 1986</h4>
<p class="resume-item-copy">If you had any meaningful roles at college, feel free to write about them here.</p> <p class="resume-item-copy">If you had any meaningful roles at college, feel free to write about them here.</p>
</div> </div>
@@ -159,19 +159,19 @@
</header> </header>
<div class="resume-item"> <div class="resume-item">
<h3 class="resume-item-title">Springfield Nuclear Power Plant</h3> <h3 class="resume-item-title" itemprop="award">Springfield Nuclear Power Plant</h3>
<h4 class="resume-item-details">Outstanding Achievement &bull; 2010</h4> <h4 class="resume-item-details">Outstanding Achievement &bull; 2010</h4>
<p class="resume-item-copy">Awarded for stopping a nuclear meltdown, even though I also started it.</p> <p class="resume-item-copy">Awarded for stopping a nuclear meltdown, even though I also started it.</p>
</div> </div>
<div class="resume-item"> <div class="resume-item">
<h3 class="resume-item-title">Duff Beer Customer of the year</h3> <h3 class="resume-item-title" itemprop="award">Duff Beer Customer of the year</h3>
<h4 class="resume-item-details">1997 &mdash; 2001, 2003, 2008 &mdash; 2012</h4> <h4 class="resume-item-details">1997 &mdash; 2001, 2003, 2008 &mdash; 2012</h4>
<p class="resume-item-copy">Honored by <a href="https://en.wikipedia.org/wiki/Duff_Beer">Duff Beer</a> for being an outstanding customer several years straight. Qualifications included most beer consumed at a bar, most beer purchased, and most beer ralphed.</p> <p class="resume-item-copy">Honored by <a href="https://en.wikipedia.org/wiki/Duff_Beer">Duff Beer</a> for being an outstanding customer several years straight. Qualifications included most beer consumed at a bar, most beer purchased, and most beer ralphed.</p>
</div> </div>
<div class="resume-item"> <div class="resume-item">
<h3 class="resume-item-title">Moe's Patron of the Month</h3> <h3 class="resume-item-title" itemprop="award">Moe's Patron of the Month</h3>
<h4 class="resume-item-details">12/2001, 8/2004</h4> <h4 class="resume-item-details">12/2001, 8/2004</h4>
<p class="resume-item-copy">Specifically this prestigious awarded twice for stopping a robber with my belly.</p> <p class="resume-item-copy">Specifically this prestigious awarded twice for stopping a robber with my belly.</p>
</div> </div>