Merge branch 'master' into 'master'

A gitlab sample page should have a sample "gitlab" user link

See merge request pages/jekyll!20
This commit is contained in:
Achilleas Pipinellis 2019-04-08 09:50:56 +00:00
commit b1742c2ad5
4 changed files with 9 additions and 0 deletions

View File

@ -16,6 +16,7 @@ baseurl: "/jekyll" # the subpath of your site, e.g. /blog
url: "/" # the base hostname & protocol for your site
twitter_username: jekyllrb
github_username: jekyll
gitlab_username: pages
# Outputting
permalink: /:categories/:year/:month/:day/:title

View File

@ -14,6 +14,12 @@
<div class="footer-col footer-col-2">
<ul class="social-media-list">
{% if site.gitlab_username %}
<li>
{% include icon-gitlab.html username=site.gitlab_username %}
</li>
{% endif %}
{% if site.github_username %}
<li>
{% include icon-github.html username=site.github_username %}

View File

@ -0,0 +1 @@
<a href="https://gitlab.com/{{ include.username }}"><span class="icon icon--gitlab">{% include icon-gitlab.svg %}</span><span class="username">{{ include.username }}</span></a>

View File

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M15.97 9.058l-.895-2.756L13.3.842c-.09-.282-.488-.282-.58 0L10.946 6.3H5.054L3.28.842C3.188.56 2.79.56 2.7.84L.924 6.3.03 9.058c-.082.25.008.526.22.682L8 15.37l7.75-5.63c.212-.156.302-.43.22-.682"/></svg>

After

Width:  |  Height:  |  Size: 364 B