Theme Files Update

This commit is contained in:
GitHub Action 2023-10-31 11:01:32 +00:00
parent c676c56ce3
commit fd8f00f27a
3 changed files with 7 additions and 7 deletions

View file

@ -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"

View file

@ -18,7 +18,7 @@
{{- 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>

View file

@ -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>