From cf5331aee490635396385910f0fb46710bb97244 Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Sat, 29 May 2021 08:40:22 +0100 Subject: [PATCH] feat: add ORCID social link - Add ORCID into social - Add ORCID into exampleSite - Add ORCID into documentation --- assets/data/social.yml | 24 +++++++++---------- exampleSite/config.toml | 4 +++- .../theme-documentation-basics/index.en.md | 1 + .../theme-documentation-basics/index.fr.md | 1 + .../theme-documentation-basics/index.zh-cn.md | 1 + 5 files changed, 18 insertions(+), 13 deletions(-) diff --git a/assets/data/social.yml b/assets/data/social.yml index 36e835d0b..a34ba7aba 100644 --- a/assets/data/social.yml +++ b/assets/data/social.yml @@ -493,27 +493,27 @@ bilibili: Icon: Src: svg/icons/bilibili.svg -# 063: Email -email: +# 063: ORCID +orcid: Weight: 63 + Prefix: https://orcid.org/ + Title: ORCID + Icon: + Class: fab fa-orcid fa-fw + +# 064: Email +email: + Weight: 64 Template: mailto:%v Title: Email Icon: Class: far fa-envelope fa-fw -# 064: RSS +# 065: RSS rss: - Weight: 64 + Weight: 65 Url: /index.xml Title: RSS Newtab: true Icon: Class: fas fa-rss fa-fw - -# 065: ORCID -orcid: - Weight: 65 - Prefix: https://orcid.org/ - Title: ORCID - Icon: - Class: fab fa-orcid fa-fw diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 217e91f82..a2f922c31 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -218,6 +218,7 @@ enableEmoji = true XMPP = "" Matrix = "" Bilibili = "" + ORCID = "" Email = "xxxx@xxxx.com" RSS = true [languages.en.params.social.Mastodon] @@ -417,6 +418,7 @@ enableEmoji = true XMPP = "" Matrix = "" Bilibili = "xxxx" + ORCID = "" Email = "xxxx@xxxx.com" RSS = true @@ -611,9 +613,9 @@ enableEmoji = true XMPP = "" Matrix = "" Bilibili = "" + ORCID = "" Email = "xxxx@xxxx.com" RSS = true - ORCID = "" [params] # DoIt theme version diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index 0bacc5559..0b002b505 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -402,6 +402,7 @@ Please open the code block below to view the complete sample configuration :(far XMPP = "" Matrix = "" Bilibili = "" + ORCID = "" Email = "xxxx@xxxx.com" RSS = true # {{< version 0.2.0 >}} diff --git a/exampleSite/content/posts/theme-documentation-basics/index.fr.md b/exampleSite/content/posts/theme-documentation-basics/index.fr.md index dc3b2225a..0fabc93b2 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.fr.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.fr.md @@ -403,6 +403,7 @@ Please open the code block below to view the complete sample configuration :(far XMPP = "" Matrix = "" Bilibili = "" + ORCID = "" 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 864f7d55c..2511af0cb 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,7 @@ hugo XMPP = "" Matrix = "" Bilibili = "" + ORCID = "" Email = "xxxx@xxxx.com" RSS = true # {{< version 0.2.0 >}}