Skip to content

Commit

Permalink
Add discord to supported social networks (daattali#907)
Browse files Browse the repository at this point in the history
* add discord to social-networks-links.html

* Update _config.yml

* Update Discord entry
  • Loading branch information
emhl authored Nov 29, 2021
1 parent 71824e5 commit f31898b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ social-network-links:
# mastodon: instance.url/@username
# ORCID: your ORCID ID
# google-scholar: your google scholar
# discord: invite/invite_code or users/userid

# 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 @@ -299,5 +299,17 @@
</a>
</li>
{%- endif -%}

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

</ul>

0 comments on commit f31898b

Please sign in to comment.