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 and kishore-raj committed Jan 24, 2022
1 parent 26e7b38 commit c541659
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 @@ -71,6 +71,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 to show a link to an RSS in the footer, add the site description here.
# If you don't want to show an RSS link, remove the following line.
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 c541659

Please sign in to comment.