add gitlab to author profile (#1050)

* add gitlab to author profile

* add gitlab to footer

* Fix alignment of :
This commit is contained in:
Will Estes 2017-07-05 12:25:41 -04:00 committed by Michael Rose
parent d92c75a6b6
commit c142f94918
3 changed files with 14 additions and 2 deletions

View file

@ -90,6 +90,7 @@ author:
facebook : facebook :
foursquare : foursquare :
github : github :
gitlab :
google_plus : google_plus :
keybase : keybase :
instagram : instagram :
@ -243,4 +244,4 @@ defaults:
read_time: true read_time: true
comments: # true comments: # true
share: true share: true
related: true related: true

View file

@ -131,6 +131,14 @@
</li> </li>
{% endif %} {% endif %}
{% 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 %}
{% if author.stackoverflow %} {% if author.stackoverflow %}
<li> <li>
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs"> <a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">

View file

@ -12,6 +12,9 @@
{% if site.author.github %} {% if site.author.github %}
<li><a href="http://github.com/{{ site.author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li> <li><a href="http://github.com/{{ site.author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
{% endif %} {% endif %}
{% if site.author.gitlab %}
<li><a href="http://gitlab.com/{{ site.author.gitlab }}"><i class="fa fa-fw fa-gitlab" aria-hidden="true"></i> Gitlab</a></li>
{% endif %}
{% if site.author.bitbucket %} {% if site.author.bitbucket %}
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li> <li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
{% endif %} {% endif %}
@ -19,4 +22,4 @@
</ul> </ul>
</div> </div>
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div> <div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>