mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
fix TikTok icon
This commit is contained in:
parent
5a8b531a7c
commit
2902dac4df
@ -69,5 +69,5 @@
|
||||
color: '#ff6f1a'
|
||||
tiktok:
|
||||
label: TikTok
|
||||
color: '#fe2c55'
|
||||
color: '#00f2ea'
|
||||
` | transform.Unmarshal) }}
|
@ -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 */}}
|
||||
|
@ -113,6 +113,9 @@ models:
|
||||
- type: string
|
||||
name: linkedin
|
||||
label: Linkedin
|
||||
- type: string
|
||||
name: tiktok
|
||||
label: TikTok
|
||||
- type: string
|
||||
name: mastodon
|
||||
label: Mastodon
|
||||
|
Loading…
x
Reference in New Issue
Block a user