Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitLab to the list of social media sources #1168

Merged
merged 2 commits into from
Jul 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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