diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e292319..a64c68d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -178,6 +178,7 @@ unsafe = true #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 7d5fba3..130dde9 100644 --- a/layouts/partials/home/social.html +++ b/layouts/partials/home/social.html @@ -163,6 +163,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