2018-01-09 20:17:40 +01:00
|
|
|
{% assign author = page.author | default: page.authors[0] | default: site.author %}
|
2018-01-09 19:58:35 +01:00
|
|
|
{% assign author = site.data.authors[author] | default: author %}
|
2014-07-31 15:37:41 +02:00
|
|
|
|
2015-01-20 18:42:37 +01:00
|
|
|
<div itemscope itemtype="http://schema.org/Person">
|
|
|
|
|
2016-10-07 01:39:28 +02:00
|
|
|
{% if author.avatar %}
|
|
|
|
<div class="author__avatar">
|
|
|
|
{% if author.avatar contains "://" %}
|
2017-12-11 18:37:10 +01:00
|
|
|
{% assign author_src = author.avatar %}
|
2016-10-07 01:39:28 +02:00
|
|
|
{% else %}
|
2018-03-20 16:35:36 +01:00
|
|
|
{% assign author_src = author.avatar | relative_url %}
|
2017-12-11 18:37:10 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if author.home %}
|
|
|
|
{% if author.home contains "://" %}
|
|
|
|
{% assign author_link = author.home %}
|
|
|
|
{% else %}
|
2018-03-20 16:35:36 +01:00
|
|
|
{% assign author_link = author.home | relative_url %}
|
2017-12-11 18:37:10 +01:00
|
|
|
{% endif %}
|
|
|
|
<a href="{{ author_link }}">
|
|
|
|
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
|
2016-10-07 01:39:28 +02:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2015-01-20 18:42:37 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
<div class="author__content">
|
2017-12-11 18:37:10 +01:00
|
|
|
{% if author.home %}
|
|
|
|
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
|
|
|
|
{% else %}
|
|
|
|
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
|
|
|
{% endif %}
|
2016-11-13 21:38:49 +01:00
|
|
|
{% if author.bio %}
|
|
|
|
<p class="author__bio" itemprop="description">
|
|
|
|
{{ author.bio }}
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2016-03-21 03:15:43 +01:00
|
|
|
</div>
|
2016-03-18 16:58:56 +01:00
|
|
|
|
2016-03-21 05:03:46 +01:00
|
|
|
<div class="author__urls-wrapper">
|
2016-09-02 14:33:54 +02:00
|
|
|
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
|
2016-03-23 03:59:39 +01:00
|
|
|
<ul class="author__urls social-icons">
|
2016-04-10 18:16:10 +02:00
|
|
|
{% if author.location %}
|
2016-11-13 21:38:49 +01:00
|
|
|
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
|
2016-11-13 21:38:49 +01:00
|
|
|
</li>
|
2016-04-10 18:16:10 +02:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.uri %}
|
2016-11-13 21:38:49 +01:00
|
|
|
<li>
|
|
|
|
<a href="{{ author.uri }}" itemprop="url">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
|
2016-11-13 21:38:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.email %}
|
2016-11-13 21:38:49 +01:00
|
|
|
<li>
|
|
|
|
<a href="mailto:{{ author.email }}">
|
|
|
|
<meta itemprop="email" content="{{ author.email }}" />
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
|
2016-11-13 21:38:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-04-01 21:49:28 +02:00
|
|
|
{% if author.keybase %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.twitter %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.facebook %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.google_plus %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
2017-11-06 18:29:24 +01:00
|
|
|
<a href="https://plus.google.com/{{ author.google_plus }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.linkedin %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.xing %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.instagram %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.tumblr %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-04-11 15:30:28 +02:00
|
|
|
{% if author.bitbucket %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-04-11 15:30:28 +02:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.github %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://github.com/{{ author.github }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2017-07-05 18:25:41 +02:00
|
|
|
{% if author.gitlab %}
|
|
|
|
<li>
|
|
|
|
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
|
2017-07-05 18:25:41 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.stackoverflow %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.lastfm %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.dribbble %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.pinterest %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.foursquare %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.steam %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-12-22 04:43:21 +01:00
|
|
|
{% if author.youtube %}
|
|
|
|
{% if author.youtube contains "://" %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ author.youtube }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
2016-12-22 04:43:21 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% else author.youtube %}
|
|
|
|
<li>
|
|
|
|
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
2016-12-22 04:43:21 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.soundcloud %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.weibo %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.flickr %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.codepen %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
2016-03-23 03:59:39 +01:00
|
|
|
{% if author.vine %}
|
2016-12-12 21:21:10 +01:00
|
|
|
<li>
|
|
|
|
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
|
2018-01-04 20:27:27 +01:00
|
|
|
<i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine
|
2016-12-12 21:21:10 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-03-23 03:59:39 +01:00
|
|
|
{% endif %}
|
2016-12-12 21:21:10 +01:00
|
|
|
|
|
|
|
{% include author-profile-custom-links.html %}
|
2016-03-21 05:03:46 +01:00
|
|
|
</ul>
|
2016-03-18 16:58:56 +01:00
|
|
|
</div>
|
2015-03-08 19:57:59 +01:00
|
|
|
</div>
|