diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/partials/social.html | 4 |
3 files changed, 6 insertions, 0 deletions
@@ -245,6 +245,7 @@ Icons for Social Media. Add the block to the config. snapchat = "" pinterest = "" telegram = "" + discord = "" # invite link # Email email = "" ``` diff --git a/exampleSite/config.toml b/exampleSite/config.toml index af08f5f..65c1311 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -104,6 +104,7 @@ theme="materialize-bp-hugo-theme" snapchat = "" pinterest = "" telegram = "" + discord = "" # invite link # Email email = "" diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 70a824b..cb2cfcf 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -126,6 +126,10 @@ <li class="list-inline-item"><a href="https://telegram.me/{{.}}" target="_blank" rel="noopener noreferrer" title="telegram" class="fab fa-telegram fa-2x white-text"></a></li> {{ end }} +{{ with .Site.Social.discord }} + <li class="list-inline-item"><a href="{{.}}" target="_blank" rel="noopener noreferrer" title="Discord" class="fab fa-discord fa-2x white-text"></a></li> +{{ end }} + {{ with .Site.Social.twitch }} <li class="list-inline-item"><a href="https://twitch.tv/{{.}}" target="_blank" rel="noopener noreferrer" title="twitch" class="fab fa-twitch fa-2x white-text"></a></li> {{ end }} |