diff --git a/README.md b/README.md index 98021103..f81ccb4f 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ I hope you will LoveIt ❤️! * **Gravatar** supported by [Gravatar](https://gravatar.com) * Local **Avatar** supported -* Up to **64** social links supported +* Up to **66** social links supported * Up to **24** share sites supported * **Disqus** comment system supported by [Disqus](https://disqus.com) * **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk) diff --git a/README.zh-cn.md b/README.zh-cn.md index 2f634fd1..9bf94a70 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -79,7 +79,7 @@ * 支持 **[Gravatar](https://gravatar.com)** 头像 * 支持本地**头像** -* 支持多达 **64** 种社交链接 +* 支持多达 **66** 种社交链接 * 支持多达 **24** 种网站分享 * 支持 **[Disqus](https://disqus.com)** 评论系统 * 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统 diff --git a/assets/data/social.yml b/assets/data/social.yml index cb16556d..0079e822 100644 --- a/assets/data/social.yml +++ b/assets/data/social.yml @@ -493,17 +493,33 @@ bilibili: Icon: Simpleicons: bilibili -# 063: Email -email: +# 063: Discord User Profile +discord: Weight: 63 + Prefix: discordapp.com/users/ + Title: Discord + Icon: + Class: fab fa-discord fa-fw + +# 064: Discord Server Invite Link +discordInvite: + Weight: 64 + Prefix: https://discord.gg/ + Title: Discord + Icon: + Class: fab fa-discord fa-fw + +# Email +email: + Weight: 99 Template: mailto:%v Title: Email Icon: Class: far fa-envelope fa-fw -# 064: RSS +# RSS rss: - Weight: 64 + Weight: 100 Url: /index.xml Title: RSS Newtab: true diff --git a/config.toml b/config.toml index 290eb31a..328f6fda 100644 --- a/config.toml +++ b/config.toml @@ -263,6 +263,8 @@ XMPP = "" Matrix = "" Bilibili = "" + Discord = "" + DiscordInvite = "" Email = "" RSS = "" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 69c028ff..34bf3b22 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -345,6 +345,8 @@ enableEmoji = true XMPP = "" Matrix = "" Bilibili = "" + Discord = "" + DiscordInvite = "" Email = "" RSS = "" diff --git a/exampleSite/content/about/index.en.md b/exampleSite/content/about/index.en.md index 600d23e5..5b6d8419 100644 --- a/exampleSite/content/about/index.en.md +++ b/exampleSite/content/about/index.en.md @@ -52,7 +52,7 @@ math: * :(far fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com) * :(fas fa-user-circle fa-fw): Local **Avatar** supported -* :(far fa-id-card fa-fw): Up to **64** social links supported +* :(far fa-id-card fa-fw): Up to **66** social links supported * :(fas fa-share-square fa-fw): Up to **24** share sites supported * :(far fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com) * :(far fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk) diff --git a/exampleSite/content/about/index.zh-cn.md b/exampleSite/content/about/index.zh-cn.md index 0630de8f..4e205532 100644 --- a/exampleSite/content/about/index.zh-cn.md +++ b/exampleSite/content/about/index.zh-cn.md @@ -52,7 +52,7 @@ math: * :(far fa-user fa-fw): 支持 **[Gravatar](https://gravatar.com)** 头像 * :(fas fa-user-circle fa-fw): 支持本地**头像** -* :(far fa-id-card fa-fw): 支持多达 **64** 种社交链接 +* :(far fa-id-card fa-fw): 支持多达 **66** 种社交链接 * :(fas fa-share-square fa-fw): 支持多达 **24** 种网站分享 * :(far fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统 * :(far fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统 diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index 0eb7747e..f34930ba 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -403,6 +403,8 @@ Please open the code block below to view the complete sample configuration :(far XMPP = "" Matrix = "" Bilibili = "" + Discord = "" + DiscordInvite = "" Email = "xxxx@xxxx.com" RSS = true # {{< version 0.2.0 >}} diff --git a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md index 687463ef..49e7db6e 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md @@ -405,6 +405,8 @@ hugo XMPP = "" Matrix = "" Bilibili = "" + Discord = "" + DiscordInvite = "" Email = "xxxx@xxxx.com" RSS = true # {{< version 0.2.0 >}}