Skip to content

Commit c142f94

Browse files
westesmmistakes
authored andcommittedJul 5, 2017
add gitlab to author profile (#1050)
* add gitlab to author profile * add gitlab to footer * Fix alignment of :
1 parent d92c75a commit c142f94

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed
 

‎_config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ author:
9090
facebook :
9191
foursquare :
9292
github :
93+
gitlab :
9394
google_plus :
9495
keybase :
9596
instagram :
@@ -243,4 +244,4 @@ defaults:
243244
read_time: true
244245
comments: # true
245246
share: true
246-
related: true
247+
related: true

‎_includes/author-profile.html

+8
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,14 @@ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
131131
</li>
132132
{% endif %}
133133

134+
{% if author.gitlab %}
135+
<li>
136+
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs">
137+
<i class="fa fa-fw fa-gitlab" aria-hidden="true"></i> Gitlab
138+
</a>
139+
</li>
140+
{% endif %}
141+
134142
{% if author.stackoverflow %}
135143
<li>
136144
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">

‎_includes/footer.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@
1212
{% if site.author.github %}
1313
<li><a href="http://github.com/{{ site.author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
1414
{% endif %}
15+
{% if site.author.gitlab %}
16+
<li><a href="http://gitlab.com/{{ site.author.gitlab }}"><i class="fa fa-fw fa-gitlab" aria-hidden="true"></i> Gitlab</a></li>
17+
{% endif %}
1518
{% if site.author.bitbucket %}
1619
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
1720
{% endif %}
1821
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% endif %}"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
1922
</ul>
2023
</div>
2124

22-
<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>
25+
<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>

0 commit comments

Comments
 (0)
Please sign in to comment.