diff --git a/assets/images/social/threads.svg b/assets/images/social/threads.svg new file mode 100644 index 00000000..6c5cd6c2 --- /dev/null +++ b/assets/images/social/threads.svg @@ -0,0 +1,9 @@ + + + threads + + + + + + \ No newline at end of file diff --git a/assets/images/social/youtube.svg b/assets/images/social/youtube.svg new file mode 100644 index 00000000..f2ec4b3e --- /dev/null +++ b/assets/images/social/youtube.svg @@ -0,0 +1,9 @@ + + + youtube + + + + + + \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9bad2719..150595df 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,7 @@ {{ $.Scratch.Delete "social_list" }} -{{ $social_params := slice "github" "twitter" "bluesky" "instagram" "rss" }} +{{ $social_params := slice "github" "twitter" "bluesky" "instagram" "threads" "youtube" "rss" }} {{ range $social_params }} {{ if isset site.Params.social . }} {{ $.Scratch.Add "social_list" (slice .) }} diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index b881e242..7106d81d 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -2,7 +2,7 @@ {{ $.Scratch.Delete "social_list" }} {{ $.Scratch.Set "pathName" (printf "%s" (.Site.Params.docs.pathName | default "docs")) }} -{{ $social_params := slice "github" "twitter" "bluesky" "instagram" "rss" }} +{{ $social_params := slice "github" "twitter" "bluesky" "instagram" "threads" "youtube" "rss" }} {{ range $social_params }} {{ if isset site.Params.social . }} {{ $.Scratch.Add "social_list" (slice .) }} diff --git a/layouts/partials/docs/top-header.html b/layouts/partials/docs/top-header.html index 845f53ed..ee11b130 100644 --- a/layouts/partials/docs/top-header.html +++ b/layouts/partials/docs/top-header.html @@ -51,7 +51,7 @@ {{ range . }} {{ $path := printf "images/social/%s.%s" . "svg" }}
  • - +
    {{ with resources.Get $path }} {{ .Content | safeHTML }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 759cce98..4b4506d0 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -26,7 +26,7 @@ {{ range . }} {{ $path := printf "images/social/%s.%s" . "svg" }}
  • - +
    {{ with resources.Get $path }} {{ .Content | safeHTML }}