2016-04-14 20:45:48 +02:00
|
|
|
{% include base_path %}
|
|
|
|
|
2016-06-24 02:59:02 +02:00
|
|
|
{% if page.author and site.data.authors[page.author] %}
|
2016-02-23 16:51:40 +01:00
|
|
|
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
|
2014-07-31 15:37:41 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2015-01-20 18:42:37 +01:00
|
|
|
<div itemscope itemtype="http://schema.org/Person">
|
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
<div class="author__avatar">
|
2016-06-03 17:59:19 +02:00
|
|
|
{% if author.avatar contains "://" %}
|
2016-09-26 18:12:21 +02:00
|
|
|
<img src="{{ author.avatar }}" alt="{{ author.name }}">
|
2016-03-18 16:58:56 +01:00
|
|
|
{% else %}
|
2016-09-22 04:15:17 +02:00
|
|
|
<img src="{{ author.avatar | prepend: "/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2015-01-20 18:42:37 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
<div class="author__content">
|
|
|
|
<h3 class="author__name">{{ author.name }}</h3>
|
|
|
|
{% if author.bio %}<p class="author__bio">{{ 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 %}
|
|
|
|
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
|
|
|
|
{% endif %}
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.uri %}
|
2016-07-29 18:16:53 +02:00
|
|
|
<li><a href="{{ author.uri }}"><i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.email %}
|
2016-07-29 18:16:53 +02:00
|
|
|
<li><a href="mailto:{{ author.email }}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}</a></li>
|
2016-04-01 21:49:28 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if author.keybase %}
|
|
|
|
<li><a href="https://keybase.io/{{ author.keybase }}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.twitter %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.facebook %}
|
2016-04-28 17:28:51 +02:00
|
|
|
<li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.google_plus %}
|
2016-04-28 17:28:51 +02:00
|
|
|
<li><a href="https://plus.google.com/+{{ author.google_plus }}"><i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.linkedin %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"><i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.xing %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.instagram %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://instagram.com/{{ author.instagram }}"><i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.tumblr %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://{{ author.tumblr }}.tumblr.com"><i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-04-11 15:30:28 +02:00
|
|
|
{% if author.bitbucket %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://bitbucket.org/{{ author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
2016-04-11 15:30:28 +02:00
|
|
|
{% endif %}
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.github %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://github.com/{{ author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> Github</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.stackoverflow %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}"><i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.lastfm %}
|
2016-09-19 00:37:13 +02:00
|
|
|
<li><a href="https://last.fm/user/{{ author.lastfm }}"><i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.dribbble %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://dribbble.com/{{ author.dribbble }}"><i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.pinterest %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://www.pinterest.com/{{ author.pinterest }}"><i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.foursquare %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://foursquare.com/{{ author.foursquare }}"><i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.steam %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://steamcommunity.com/id/{{ author.steam }}"><i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.youtube %}
|
2016-04-28 17:28:51 +02:00
|
|
|
<li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.soundcloud %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://soundcloud.com/{{ author.soundcloud }}"><i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.weibo %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://www.weibo.com/{{ author.weibo }}"><i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.flickr %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://www.flickr.com/{{ author.flickr }}"><i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.codepen %}
|
2016-04-28 17:21:28 +02:00
|
|
|
<li><a href="https://codepen.io/{{ author.codepen }}"><i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-03-23 03:59:39 +01:00
|
|
|
{% if author.vine %}
|
2016-04-01 21:49:28 +02:00
|
|
|
<li><a href="https://vine.co/u/{{ author.vine }}"><i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine</a></li>
|
2016-03-23 03:59:39 +01:00
|
|
|
{% endif %}
|
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>
|