Guide_Wii/_includes/author-profile.html

250 lines
8 KiB
HTML
Raw Normal View History

2016-10-30 01:02:14 +02:00
{% if page.author and site.data.authors[page.author] %}
2016-11-23 02:29:35 +01:00
{% assign author = site.data.authors[page.author] %}
{% else %}
{% assign author = site.author %}
2016-10-30 01:02:14 +02:00
{% endif %}
<div itemscope itemtype="http://schema.org/Person">
2016-11-23 02:29:35 +01:00
{% if author.avatar %}
<div class="author__avatar">
{% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
{% else %}
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
{% endif %}
</div>
{% endif %}
2016-10-30 01:02:14 +02:00
<div class="author__content">
2016-11-23 02:29:35 +01:00
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% if author.bio %}
<p class="author__bio" itemprop="description">
{{ author.bio }}
</p>
{% endif %}
2016-10-30 01:02:14 +02:00
</div>
<div class="author__urls-wrapper">
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons">
{% if author.location %}
2016-11-23 02:29:35 +01:00
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
2017-10-28 21:58:34 +02:00
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
2016-11-23 02:29:35 +01:00
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2016-11-23 02:29:35 +01:00
2016-10-30 01:02:14 +02:00
{% if author.uri %}
2016-11-23 02:29:35 +01:00
<li>
<a href="{{ author.uri }}" itemprop="url">
2017-10-28 21:58:34 +02:00
<i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
2016-11-23 02:29:35 +01:00
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2016-11-23 02:29:35 +01:00
2016-10-30 01:02:14 +02:00
{% if author.email %}
2016-11-23 02:29:35 +01:00
<li>
<a href="mailto:{{ author.email }}">
<meta itemprop="email" content="{{ author.email }}" />
2017-10-28 21:58:34 +02:00
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
2016-11-23 02:29:35 +01:00
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2016-11-23 02:29:35 +01:00
2016-10-30 01:02:14 +02:00
{% if author.keybase %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
<i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.twitter %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.facebook %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.google_plus %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs">
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.linkedin %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.xing %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.instagram %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.tumblr %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.bitbucket %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.github %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://github.com/{{ author.github }}" itemprop="sameAs">
<i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
{% if author.gitlab %}
<li>
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs">
<i class="fa fa-fw fa-gitlab" aria-hidden="true"></i> Gitlab
</a>
</li>
{% endif %}
2016-10-30 01:02:14 +02:00
{% if author.stackoverflow %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
<i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.lastfm %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
<i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.dribbble %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.pinterest %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.foursquare %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.steam %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.youtube %}
2017-10-28 21:58:34 +02:00
{% if author.youtube contains "://" %}
<li>
<a href="{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
</a>
</li>
{% else author.youtube %}
<li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
</a>
</li>
{% endif %}
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.soundcloud %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.weibo %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.flickr %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.codepen %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
2016-10-30 01:02:14 +02:00
{% if author.vine %}
2017-10-28 21:58:34 +02:00
<li>
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
<i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine
</a>
</li>
2016-10-30 01:02:14 +02:00
{% endif %}
2017-10-28 21:58:34 +02:00
{% include author-profile-custom-links.html %}
2016-10-30 01:02:14 +02:00
</ul>
</div>
</div>