From fd8f00f27aab3ab9a4797e6a7a83be90f976f2cf Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 31 Oct 2023 11:01:32 +0000 Subject: [PATCH] Theme Files Update --- hugo.toml | 10 +++++----- layouts/index.html | 2 +- layouts/partials/header.html | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) 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 -}}