Updated schema.org information
_config.yml: * Added telephone and address variables resume.html: * Removed invalid property ‘contact-info’ * Changed person to ‘alumniOf’ CollegeOrUniversity, instead of ‘worksFor’ * Changed itemtype of ‘CreativeWork’ to Projects * Added ‘creator’ property to Projects * Added itemtype of ‘Organization’ to Associations * Added ‘memberOf’ property to Associations
This commit is contained in:
+3
-2
@@ -12,8 +12,9 @@ sass:
|
|||||||
resume_avatar: "true"
|
resume_avatar: "true"
|
||||||
resume_name: "Homer J. Simpson"
|
resume_name: "Homer J. Simpson"
|
||||||
resume_title: "Nuclear Safety Inspector"
|
resume_title: "Nuclear Safety Inspector"
|
||||||
resume_contact_email:
|
resume_contact_email: "homerjsimpson@youremailaddress.com"
|
||||||
"homerjsimpson@youremailaddress.com"
|
resume_contact_telephone: "555-7334"
|
||||||
|
resume_contact_address: "742 Evergreen Terrace"
|
||||||
resume_header_contact_info: "742 Evergreen Terrace, Springfield | 555-7334 | homerjsimpson@youremailaddress.com"
|
resume_header_contact_info: "742 Evergreen Terrace, Springfield | 555-7334 | homerjsimpson@youremailaddress.com"
|
||||||
resume_header_intro: "<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>"
|
resume_header_intro: "<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>"
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
<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" itemscope itemtype="http://schema.org/Person">
|
<div class="wrapper" itemscope itemtype="http://schema.org/Person">
|
||||||
|
<meta itemprop="telephone" content="{{ site.resume_contact_telephone }}"/>
|
||||||
|
<meta itemprop="address" content="{{ site.resume_contact_address }}"/>
|
||||||
|
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
|
|
||||||
@@ -18,7 +20,7 @@
|
|||||||
<h1 class="header-name" itemprop="name">{{ site.resume_name }}</h1>
|
<h1 class="header-name" itemprop="name">{{ site.resume_name }}</h1>
|
||||||
|
|
||||||
<!-- Contact buttons don't work in print, configure in the _config.yml file, remove "print-only" to display always. -->
|
<!-- Contact buttons don't work in print, configure in the _config.yml file, remove "print-only" to display always. -->
|
||||||
<div class="header-contact-info print-only" itemprop="contact-info">
|
<div class="header-contact-info print-only">
|
||||||
<p>{{ site.resume_header_contact_info }}</p>
|
<p>{{ site.resume_header_contact_info }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -73,7 +75,7 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
{% for education in site.data.education %}
|
{% for education in site.data.education %}
|
||||||
<div class="resume-item" itemscope itemprop="worksFor" 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 }} • {{ education.year }}</h4>
|
<h4 class="resume-item-details group" itemprop="description">{{ education.degree }} • {{ 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>
|
||||||
@@ -93,8 +95,9 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
{% for project in site.data.projects %}
|
{% for project in site.data.projects %}
|
||||||
<div class="resume-item" itemscope itemprop="worksFor" itemtype="http://schema.org/Organization">
|
<div class="resume-item" itemscope itemtype="http://schema.org/CreativeWork">
|
||||||
<h3 class="resume-item-title" itemprop="name">{{ project.project }}</h3>
|
<meta itemprop="creator" content="{{ site.resume_name }}" itemtype="http://schema.org/Person" />
|
||||||
|
<h3 class="resume-item-title" itemprop="name">{% if project.url %}<a href="{{ project.url }}" itemprop="url">{{ project.project }}</a>{% else %}{{ project.project }}{% endif %}</h3>
|
||||||
<h4 class="resume-item-details" itemprop="description">{{ project.role }} • {{ project.duration }}</h4>
|
<h4 class="resume-item-details" itemprop="description">{{ project.role }} • {{ project.duration }}</h4>
|
||||||
<p class="resume-item-copy">{{ project.description }}</p>
|
<p class="resume-item-copy">{{ project.description }}</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -193,7 +196,7 @@
|
|||||||
<div class="resume-item">
|
<div class="resume-item">
|
||||||
<ul class="resume-item-list">
|
<ul class="resume-item-list">
|
||||||
{% for link in site.data.links %}
|
{% for link in site.data.links %}
|
||||||
<li><a href={{ link.url }}>{{ link.description }}</a></li>
|
<li><a href={{ link.url }} itemprop="url">{{ link.description }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@@ -227,4 +230,4 @@
|
|||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user