From f31898b8d0a9b5de841004141f0770c6722ae2bf Mon Sep 17 00:00:00 2001 From: Emhl <36165088+emhl@users.noreply.github.com> Date: Tue, 30 Nov 2021 00:05:09 +0100 Subject: [PATCH] Add discord to supported social networks (#907) * add discord to social-networks-links.html * Update _config.yml * Update Discord entry --- _config.yml | 1 + _includes/social-networks-links.html | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/_config.yml b/_config.yml index 1b08f4f4dafa..207370890552 100644 --- a/_config.yml +++ b/_config.yml @@ -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:///feed.xml diff --git a/_includes/social-networks-links.html b/_includes/social-networks-links.html index ac1599dbb2e3..617d9b7dd758 100644 --- a/_includes/social-networks-links.html +++ b/_includes/social-networks-links.html @@ -299,5 +299,17 @@ {%- endif -%} + +{%- if site.social-network-links.discord -%} +
  • + + + Discord + +
  • +{%- endif -%}