Commit 7fb0312a authored by Andres Maldonado's avatar Andres Maldonado
Browse files

[social-links] Fix Facebook and GitLab links

parent d11e87d5
Pipeline #60427 passed with stage
in 18 seconds
...@@ -33,7 +33,7 @@ permalink: /:title/ ...@@ -33,7 +33,7 @@ permalink: /:title/
# categories: [blog, project] # only show disqus for posts that have these categories # categories: [blog, project] # only show disqus for posts that have these categories
# if you don't have any of social below, comment the line # if you don't have any of social below, comment the line
facebook: https://www.facebook.com/elusUTC/ facebook: elusUTC
# twitter: mytwitter # twitter: mytwitter
# instagram: myinstagram # instagram: myinstagram
# pinterest: mypinterest # pinterest: mypinterest
...@@ -41,7 +41,8 @@ facebook: https://www.facebook.com/elusUTC/ ...@@ -41,7 +41,8 @@ facebook: https://www.facebook.com/elusUTC/
# youtube: myyoutube # youtube: myyoutube
# spotify: myspotify # spotify: myspotify
github: false github: false
gitlab: https://gitlab.utc.fr/elus_etu/ gitlab-user: elus_etu
gitlab-instance: gitlab.utc.fr
# lastfm: mylastfm # lastfm: mylastfm
# stackoverflow: 7044681/mystackoverflow # stackoverflow: 7044681/mystackoverflow
# quora: userquora # quora: userquora
......
...@@ -53,8 +53,14 @@ ...@@ -53,8 +53,14 @@
</a> </a>
{% endif %} {% endif %}
{% if site.gitlab %} {% if site.gitlab-instance %}
<a class="link" data-title="gitlab.com/{{ site.gitlab }}" href="https://gitlab.com/{{ site.gitlab }}" target="_blank"> {% assign gitlab-instance = site.gitlab-instance %}
{% else %}
{% assign gitlab-instance = "gitlab.com" %}
{% endif %}
{% if site.gitlab-user %}
<a class="link" data-title="{{ gitlab-instance }}/{{ site.gitlab-user }}" href="https://{{ gitlab-instance }}/{{ site.gitlab-user }}" target="_blank">
{% fa_svg fab.fa-gitlab %} {% fa_svg fab.fa-gitlab %}
</a> </a>
{% endif %} {% endif %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment