diff --git a/hugo.toml b/hugo.toml index e8373a87c..bb3a570c4 100644 --- a/hugo.toml +++ b/hugo.toml @@ -109,6 +109,8 @@ disableAliases = true ghrepo = "https://github.com/gohugoio/hugoDocs/" [params.render_hooks.link] errorLevel = 'warning' # ignore (default), warning, or error (fails the build) + [params.social.mastodon] + url = "https://fosstodon.org/@gohugoio" [related] includeNewer = true diff --git a/layouts/_partials/layouts/header/header.html b/layouts/_partials/layouts/header/header.html index 97f172110..5d27a20b3 100644 --- a/layouts/_partials/layouts/header/header.html +++ b/layouts/_partials/layouts/header/header.html @@ -57,5 +57,9 @@ class="hidden sm:block ml-2 sm:ml-6 h-6 fill-slate-400 group-hover:fill-slate-500 dark:group-hover:fill-slate-300"> {{ partial "layouts/header/githubstars.html" . }} + diff --git a/layouts/_partials/layouts/header/mastodon.html b/layouts/_partials/layouts/header/mastodon.html new file mode 100644 index 000000000..7e6af8ea9 --- /dev/null +++ b/layouts/_partials/layouts/header/mastodon.html @@ -0,0 +1,29 @@ + + + + + + + + + + + +