From 2902dac4df3564a929a11ab1aeaa41f6484307e4 Mon Sep 17 00:00:00 2001 From: zach Date: Fri, 28 Oct 2022 10:20:34 +0200 Subject: [PATCH] fix TikTok icon --- layouts/partials/func/socials/GetBuiltInServicesDefaults.html | 2 +- layouts/partials/func/socials/GetRegisteredServices.html | 2 +- stackbit.yaml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/layouts/partials/func/socials/GetBuiltInServicesDefaults.html b/layouts/partials/func/socials/GetBuiltInServicesDefaults.html index b61fe5d..93f3fc0 100644 --- a/layouts/partials/func/socials/GetBuiltInServicesDefaults.html +++ b/layouts/partials/func/socials/GetBuiltInServicesDefaults.html @@ -69,5 +69,5 @@ color: '#ff6f1a' tiktok: label: TikTok - color: '#fe2c55' + color: '#00f2ea' ` | transform.Unmarshal) }} \ No newline at end of file diff --git a/layouts/partials/func/socials/GetRegisteredServices.html b/layouts/partials/func/socials/GetRegisteredServices.html index ae0fdc3..5058152 100644 --- a/layouts/partials/func/socials/GetRegisteredServices.html +++ b/layouts/partials/func/socials/GetRegisteredServices.html @@ -22,7 +22,7 @@ theNewDynamic) and them to the list with key as .name and value as .url */}} {{ $user_using_legacy := false }} -{{ $legacy_api_services := slice "facebook" "twitter" "instagram" "youtube" "github" "gitlab" "keybase" "linkedin" "medium" "mastodon" "slack" "stackoverflow" "rss" }} +{{ $legacy_api_services := slice "facebook" "twitter" "instagram" "youtube" "github" "gitlab" "keybase" "linkedin" "medium" "mastodon" "slack" "stackoverflow" "rss" "tiktok" }} {{ range $name := $legacy_api_services }} {{ with $url := index site.Params . }} {{/* If we can find a parameter matching the key with a set value, we add it with proper name and url */}} diff --git a/stackbit.yaml b/stackbit.yaml index 60654e8..cf40747 100644 --- a/stackbit.yaml +++ b/stackbit.yaml @@ -113,6 +113,9 @@ models: - type: string name: linkedin label: Linkedin + - type: string + name: tiktok + label: TikTok - type: string name: mastodon label: Mastodon