diff --git a/hugo.toml b/hugo.toml index 985356b..1b48c01 100644 --- a/hugo.toml +++ b/hugo.toml @@ -77,15 +77,15 @@ enableEmoji = true readTimeSeparator = "\u2026 \u23F2 Reading Time:" # legacyLayout = false - [[params.social]] - name = "twitter" - url = "https://twitter.com/" + [[params.socialLinks]] + name = "mastodon" + url = "https://joinmastodon.org/" - [[params.social]] + [[params.socialLinks]] name = "x" url = "https://twitter.com/" - [[params.social]] + [[params.socialLinks]] name = "github" url = "https://github.com/1bl4z3r/hermit-V2/tree/staging" diff --git a/layouts/index.html b/layouts/index.html index f4efa01..90d1ccd 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -18,7 +18,7 @@ {{- with .Site.Params.homeSubtitle }}

{{.}}

{{- end }} - {{- with .Site.Params.social }} + {{- with .Site.Params.socialLinks }}
{{ partialCached "social-icons.html" . }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 473f597..18a19e6 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -15,7 +15,7 @@ {{- with .Params.toc -}} {{- end }} - {{- with .Site.Params.social -}} + {{- with .Site.Params.socialLinks -}} {{ partialCached "social-icons.html" . }} {{- end -}}