mirror of
https://github.com/TryGhost/Ruby.git
synced 2024-10-30 04:48:33 +02:00
41 lines
1.9 KiB
Handlebars
41 lines
1.9 KiB
Handlebars
{{#foreach authors}}
|
|
<section class="author u-shadow">
|
|
<div class="author-image-placeholder u-placeholder">
|
|
<img class="author-image lazyload u-object-fit"
|
|
data-src="{{img_url profile_image size="xs"}}"
|
|
src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
|
alt="{{name}}">
|
|
</div>
|
|
<div class="author-wrapper">
|
|
<header class="author-header">
|
|
<div class="author-header-wrapper">
|
|
<h4 class="author-name">{{name}}</h4>
|
|
<div class="author-social">
|
|
{{#if website}}
|
|
<a class="author-social-item author-website"
|
|
href="{{website}}" target="_blank">Website</a>
|
|
{{/if}}
|
|
{{#if facebook}}
|
|
<a class="author-social-item author-facebook"
|
|
href="https://www.facebook.com/{{facebook}}"
|
|
target="_blank">Facebook</a>
|
|
{{/if}}
|
|
{{#if twitter}}
|
|
<a class="author-social-item author-twitter"
|
|
href="https://twitter.com/{{twitter}}"
|
|
target="_blank">Twitter</a>
|
|
{{/if}}
|
|
<a class="author-social-item author-more"
|
|
href={{url}}>More posts</a>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div class="author-bio">{{bio}}</div>
|
|
{{#if location}}
|
|
<div class="author-location"><i
|
|
class="author-location-icon icon icon-map-marker"></i>
|
|
{{location}}</div>
|
|
{{/if}}
|
|
</div>
|
|
</section>
|
|
{{/foreach}} |