diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2ab50b1..b8aba27 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -246,6 +246,7 @@ dateFormatToUse = "2006-01-02" #Googlescholar = "xxxx" #Researchgate = "xxxx" #Mastodon = "xxxx" + #MastodonPrefix = "https://mastodon.technology/" #Thingiverse = "xxxx" #Devto = "xxxx" #Gitea = "xxxx" diff --git a/exampleSite/zh/config.toml b/exampleSite/zh/config.toml index 9f12b82..cd822bd 100644 --- a/exampleSite/zh/config.toml +++ b/exampleSite/zh/config.toml @@ -246,6 +246,7 @@ dateFormatToUse = "2006-01-02" #Googlescholar = "xxxx" #Researchgate = "xxxx" #Mastodon = "xxxx" + #MastodonPrefix = "https://mastodon.technology/" #Thingiverse = "xxxx" #Devto = "xxxx" #Gitea = "xxxx" diff --git a/layouts/partials/home/social.html b/layouts/partials/home/social.html index aece59a..c22655e 100644 --- a/layouts/partials/home/social.html +++ b/layouts/partials/home/social.html @@ -269,7 +269,8 @@ {{- end -}} {{- with .Site.Params.Social.Mastodon}} - + {{ $MastodonPrefix := $.Site.Params.Social.MastodonPrefix | default "https://mastodon.social/" }} + {{- end -}}