2014-07-31 15:37:41 +02:00
|
|
|
{% if 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">
|
|
|
|
{% if author.avatar contains "http" %}
|
|
|
|
<img src="{{ author.avatar }}" alt="{{ author.name }}">
|
|
|
|
{% else %}
|
|
|
|
<img src="{{ author.avatar | prepend: "/images/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">
|
|
|
|
{% 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-03-30 22:59:48 +02:00
|
|
|
<button class="btn btn--inverse">Follow</button>
|
2016-03-23 03:59:39 +01:00
|
|
|
<ul class="author__urls social-icons">
|
2016-03-18 16:58:56 +01:00
|
|
|
{% if author.uri %}
|
2016-03-25 15:48:08 +01:00
|
|
|
<li><a href="{{ author.uri }}" target="_blank"><i class="fa fa-fw fa-globe"></i> {{ site.data.ui-text[site.locale].website_label }}</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.email %}
|
2016-03-25 15:48:08 +01:00
|
|
|
<li><a href="mailto:{{ author.email }}" target="_blank"><i class="fa fa-fw fa-envelope-square"></i> {{ site.data.ui-text[site.locale].email_label }}</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.twitter %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://twitter.com/{{ author.twitter }}" target="_blank"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.facebook %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://facebook.com/{{ author.facebook }}" target="_blank"><i class="fa fa-fw fa-facebook-square"></i> Facebook</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.google_plus %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://plus.google.com/+{{ author.google_plus }}" target="_blank"><i class="fa fa-fw fa-google-plus-square"></i> Google+</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.linkedin %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://linkedin.com/in/{{ author.linkedin }}" target="_blank"><i class="fa fa-fw fa-linkedin-square"></i> LinkedIn</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.xing %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://www.xing.com/profile/{{ author.xing }}" target="_blank"><i class="fa fa-fw fa-xing-square"></i> XING</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.instagram %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://instagram.com/{{ author.instagram }}" target="_blank"><i class="fa fa-fw fa-instagram"></i> Instagram</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.tumblr %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://{{ author.tumblr }}.tumblr.com" target="_blank"><i class="fa fa-fw fa-tumblr-square"></i> Tumblr</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.github %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://github.com/{{ author.github }}" target="_blank"><i class="fa fa-fw fa-github"></i> Github</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.stackoverflow %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://stackoverflow.com/users/{{ author.stackoverflow }}" target="_blank"><i class="fa fa-fw fa-stack-overflow"></i> Stackoverflow</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.lastfm %}
|
2016-03-23 03:59:39 +01:00
|
|
|
<li><a href="http://lastfm.com/user/{{ author.lastfm }}" target="_blank"><i class="fa fa-fw fa-lastfm-square"></i> Last.fm</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.dribbble %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://dribbble.com/{{ author.dribbble }}" target="_blank"><i class="fa fa-fw fa-dribbble"></i> Dribbble</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.pinterest %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://www.pinterest.com/{{ author.pinterest }}" target="_blank"><i class="fa fa-fw fa-pinterest"></i> Pinterest</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.foursquare %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://foursquare.com/{{ author.foursquare }}" target="_blank"><i class="fa fa-fw fa-foursquare"></i> Foursquare</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.steam %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://steamcommunity.com/id/{{ author.steam }}" target="_blank"><i class="fa fa-fw fa-steam-square"></i> Steam</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.youtube %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="https://youtube.com/user/{{ author.youtube }}" target="_blank"><i class="fa fa-fw fa-youtube-square"></i> Youtube</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.soundcloud %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://soundcloud.com/{{ author.soundcloud }}" target="_blank"><i class="fa fa-fw fa-soundcloud"></i> Soundcloud</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.weibo %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://www.weibo.com/{{ author.weibo }}" target="_blank"><i class="fa fa-fw fa-weibo"></i> Weibo</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.flickr %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://www.flickr.com/{{ author.flickr }}" target="_blank"><i class="fa fa-fw fa-flickr"></i> Flickr</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if author.codepen %}
|
2016-03-21 05:03:46 +01:00
|
|
|
<li><a href="http://codepen.io/{{ author.codepen }}" target="_blank"><i class="fa fa-fw fa-codepen"></i> CodePen</a></li>
|
2016-03-18 16:58:56 +01:00
|
|
|
{% endif %}
|
2016-03-23 03:59:39 +01:00
|
|
|
{% if author.vine %}
|
|
|
|
<li><a href="https://vine.co/u/{{ author.vine }}" target="_blank"><i class="fa fa-fw fa-vine"></i> Vine</a></li>
|
|
|
|
{% 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>
|