Skip to content

Commit

Permalink
Theme Files Update
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 31, 2023
1 parent c676c56 commit fd8f00f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1 id="home-title">{{ .Site.Title }}</h1>
{{- with .Site.Params.homeSubtitle }}
<p id="home-subtitle">{{.}}</p>
{{- end }}
{{- with .Site.Params.social }}
{{- with .Site.Params.socialLinks }}
<div id="home-social">
{{ partialCached "social-icons.html" . }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{- with .Params.toc -}}
<button id="toc-btn" class="hdr-btn desktop-only-ib" title="{{i18n "tableOfContents"}}"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3" y2="6"></line><line x1="3" y1="12" x2="3" y2="12"></line><line x1="3" y1="18" x2="3" y2="18"></line></svg></button>
{{- end }}
{{- with .Site.Params.social -}}
{{- with .Site.Params.socialLinks -}}
<span class="hdr-social hide-in-mobile">{{ partialCached "social-icons.html" . }}</span>
{{- end -}}
<button id="menu-btn" class="hdr-btn" title="{{i18n "menu"}}"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg></button>
Expand Down

0 comments on commit fd8f00f

Please sign in to comment.