Merge pull request #4 from BackIsBachus/fix-image-src

Fix the image source variable call.
Not displaying the raw variable causes URLs and some paths not to be displayed correctly.
This commit is contained in:
BackIsBachus 2016-05-16 11:05:05 +02:00
commit d30fc90c0a

View File

@ -2,7 +2,7 @@
<div class="card profile-card"><span class="profile-pic-container"> <div class="card profile-card"><span 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></span>