From e0e422591fea5db5ce7e07e39a114e368e35442a Mon Sep 17 00:00:00 2001 From: LeafHacker Date: Sun, 23 Feb 2020 09:29:46 +0000 Subject: Added discord support to social --- README.md | 1 + exampleSite/config.toml | 1 + layouts/partials/social.html | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 1906500..8814104 100644 --- a/README.md +++ b/README.md @@ -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 @@
  • {{ end }} +{{ with .Site.Social.discord }} +
  • +{{ end }} + {{ with .Site.Social.twitch }}
  • {{ end }} -- cgit v1.2.3