diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8c9f68e..f5106e7 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -174,6 +174,7 @@ staticDir = ["static", "../assets/others"] # static directories #Researchgate = "xxxx" #Mastodon = "xxxx" #Thingiverse = "xxxx" + #Devto = "xxxx" [params.share] # Social Share Links in post page enable = true diff --git a/exampleSite/zh/config.toml b/exampleSite/zh/config.toml index 8c8332f..b431242 100644 --- a/exampleSite/zh/config.toml +++ b/exampleSite/zh/config.toml @@ -174,6 +174,7 @@ staticDir = ["../static", "../../assets/others"] # 静态文件目录 #Researchgate = "xxxx" #Mastodon = "xxxx" #Thingiverse = "xxxx" + #Devto = "xxxx" [params.share] # 文章页面的分享信息设置 enable = true diff --git a/layouts/partials/home/social.html b/layouts/partials/home/social.html index 469f9e9..3a8531c 100644 --- a/layouts/partials/home/social.html +++ b/layouts/partials/home/social.html @@ -160,6 +160,9 @@ {{ with .Site.Params.Social.Mastodon}} {{ end }} +{{ with .Site.Params.Social.Devto}} + +{{ end }} {{ with .Site.Params.Social.Email}} {{ end }} \ No newline at end of file