Moar dynamic social definitions
All checks were successful
Build and Deploy Resume Site / setup-website-content (push) Successful in 18s

This commit is contained in:
shockrah 2025-06-30 15:43:41 -07:00
parent decdaf714d
commit 1449a55cd5
2 changed files with 15 additions and 25 deletions

View File

@ -9,13 +9,14 @@ enableEmoji: true
Params:
description: Silly maker of things
name: temper.tv
twitch: https://twitch.tv/tempersama_
gitlab: https://git.shockrah.xyz/shockrah
github: https://github.com/tempersama
mastodon: https://mastodon.social/@tempertv
instagram: https://www.instagram.com/temper.sama/
bluesky: https://bsky.app/profile/tempersama.bsky.social
x: https://x.com/temper_xyz
socials:
- git: https://git.shockrah.xyz/shockrah
- github: https://github.com/tempersama
- twitch: https://twitch.tv/tempersama_
- mastodon: https://mastodon.social/@tempertv
- bluesky: https://bsky.app/profile/tempersama.bsky.social
- instagram: https://www.instagram.com/temper.sama/
- twitter-x: https://x.com/temper_xyz
# Here we link the fun stuff ;)
launchpad:

View File

@ -1,18 +1,7 @@
<a class="socials" href="{{.Site.Params.Gitlab}}">
<i class="bi bi-gitlab"></i>
</a>
<a class="socials" href="{{.Site.Params.Twitch}}">
<i class="bi bi-twitch"></i>
</a>
<a class="socials" href="{{.Site.Params.Mastodon}}">
<i class="bi bi-mastodon"></i>
</a>
<a class="socials" href="{{.Site.Params.Github}}">
<i class="bi bi-github"></i>
</a>
<a class="socials" href="{{.Site.Params.Instagram}}">
<i class="bi bi-instagram"></i>
</a>
<a class="socials" href="{{.Site.Params.Bluesky}}">
<i class="bi bi-bluesky"></i>
</a>
{{ range .Site.Params.Socials }}
{{ range $social, $link := . }}
<a class="socials" href="{{ $link }}">
<i class="bi bi-{{ $social }}"></i>
</a>
{{ end }}
{{ end }}