Merge pull request #8 from BackIsBachus/w3c

Correct markup for W3C validation
This commit is contained in:
BackIsBachus 2016-05-17 11:13:47 +02:00
commit 38dfd0f241
2 changed files with 2 additions and 3 deletions

View File

@ -1,11 +1,11 @@
<section class="col-md-3 card-wrapper profile-card-wrapper affix"> <section class="col-md-3 card-wrapper profile-card-wrapper affix">
<div class="card profile-card"><span class="profile-pic-container"> <div class="card profile-card"><div class="profile-pic-container">
<div class="profile-pic"> <div class="profile-pic">
{{#if r.info.image}} {{#if r.info.image}}
<img data-src="holder.js/100x100" alt="{{{r.name}}}" src="{{{r.info.image}}}" itemprop="image" class="media-object img-circle center-block"/> <img data-src="holder.js/100x100" alt="{{{r.name}}}" src="{{{r.info.image}}}" itemprop="image" class="media-object img-circle center-block"/>
{{/if}} {{/if}}
</div> </div>
<div class="name-and-profession text-center"><h3 itemprop="name"><b>{{{r.name}}}</b></h3><h5 itemprop="jobTitle" class="text-muted">{{r.info.label}}</h5></div></span> <div class="name-and-profession text-center"><h3 itemprop="name"><b>{{{r.name}}}</b></h3><h5 itemprop="jobTitle" class="text-muted">{{r.info.label}}</h5></div></div>
<hr/> <hr/>
<div class="contact-details clearfix"> <div class="contact-details clearfix">
{{#if r.location.city}}<div class="detail"><span class="icon"><i class="icon fs-lg fa fa-map-marker"></i></span><span class="info">{{#if r.location.address}}{{r.location.address}}, {{/if}}{{r.location.city}}{{#if r.location.region}}, {{r.location.region}}{{/if}}{{#if r.location.country}}, {{r.location.country}}{{/if}}</span></div>{{/if}} {{#if r.location.city}}<div class="detail"><span class="icon"><i class="icon fs-lg fa fa-map-marker"></i></span><span class="info">{{#if r.location.address}}{{r.location.address}}, {{/if}}{{r.location.city}}{{#if r.location.region}}, {{r.location.region}}{{/if}}{{#if r.location.country}}, {{r.location.country}}{{/if}}</span></div>{{/if}}

View File

@ -1,5 +1,4 @@
<!DOCTYPE html> <!DOCTYPE html>
<html>
<html lang="en"> <html lang="en">
<head> <head>
{{> head}} {{> head}}