Skip to content

Commit

Permalink
Add GitLab to the list of social media sources (daattali#1168)
Browse files Browse the repository at this point in the history
* Add GitLab to the list of social media sources

* Update CHANGELOG.md

---------

Co-authored-by: Dean Attali <[email protected]>
  • Loading branch information
agvallejo and daattali authored Jul 3, 2023
1 parent 6ea95fb commit bebc3f8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- BREAKING CHANGE: Allow changing the order of the social network links that appear in the footer (#1152)
- Fixed bug where hovering over search results showed the text "{desc}" (#1156)
- Added social network link for GitLab (#1168)

## v6.0.1 (2023-06-08)

Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ social-network-links:
# discord: "invite_code" or "users/userid" or "invite/invite_code"
# kaggle: yourname
# hackerrank: yourname
# gitlab: yourname

# If you want your website to generate an RSS feed, provide a description
# The URL for the feed will be https://<your_website>/feed.xml
Expand Down
12 changes: 12 additions & 0 deletions _includes/social-networks-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@
</li>
{%- endif -%}

{%- if network[0] == "gitlab" -%}
<li class="list-inline-item">
<a href="https://gitlab.com/{{ network[1] }}" title="GitLab">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-gitlab fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">GitLab</span>
</a>
</li>
{%- endif -%}

{%- if network[0] == "twitter" -%}
<li class="list-inline-item">
<a href="https://twitter.com/{{ network[1] }}" title="Twitter">
Expand Down

0 comments on commit bebc3f8

Please sign in to comment.