Skip to content

Commit 6d67850

Browse files
committed
Add social profile X, Threads and TikTok
1 parent bfbd80d commit 6d67850

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ copyright = "© Copyright 2017 Your name"
5555
gravatar = "Gravatar email or MD5 Hash"
5656
#avatar = "/path/to/avatar"
5757

58+
x = "X username"
5859
twitter = "Twitter username"
5960
facebook = "Facebook username"
6061
googleplus = "Googleplus username"
6162
instagram = "Instagram username"
63+
threads = "Threads username"
6264
tumblr = "Tumblr username"
6365
flickr = "Flickr username"
6466
reddit = "Reddit username"
@@ -78,7 +80,8 @@ copyright = "© Copyright 2017 Your name"
7880
foursquare = "Foursquare username"
7981
xing = "Xing username"
8082
quora = "Quora username"
81-
youtube = "Youtube username"
83+
youtube = "YouTube username"
84+
tiktok = "TikTok username"
8285
vimeo = "Vimeo username"
8386
whatsapp = "Whatsapp username"
8487
skype = "Skype username"

exampleSite/config.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ copyright = "© Copyright 2017 Foo Bar"
2929
#gravatar = "Gravatar email or MD5 Hash"
3030
#avatar = "/path/to/avatar"
3131

32+
#x = "X username"
3233
#twitter = "Twitter username"
3334
#facebook = "Facebook username"
3435
#googleplus = "Googleplus username"
3536
#instagram = "Instagram username"
37+
#threads = "Threads username"
3638
#tumblr = "Tumblr username"
3739
#flickr = "Flickr username"
3840
#reddit = "Reddit username"
@@ -52,7 +54,8 @@ copyright = "© Copyright 2017 Foo Bar"
5254
#foursquare = "Foursquare username"
5355
#xing = "Xing username"
5456
#quora = "Quora username"
55-
#youtube = "Youtube username"
57+
#youtube = "YouTube username"
58+
#tiktok = "TikTok username"
5659
#vimeo = "Vimeo username"
5760
#whatsapp = "Whatsapp username"
5861
#skype = "Skype username"

layouts/partials/social.html

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
{{- range .social }}
55
<li><a href="{{ .url }}" title="{{ .name }}" rel="me" target="_blank"><i class="{{ .iclass }}"></i></a></li>
66
{{- end }}
7+
{{- with .x }}
8+
<li><a href="https://x.com/{{ . }}" rel="me" target="_blank"><i class="fa-brands fa-x-twitter"></i></a></li>
9+
{{- end }}
710
{{- with .twitter }}
811
<li><a href="https://twitter.com/{{ . }}" rel="me" target="_blank"><i class="fa-brands fa-twitter"></i></a></li>
912
{{- end }}
@@ -16,6 +19,9 @@
1619
{{- with .instagram }}
1720
<li><a href="https://instagram.com/{{ . }}" rel="me" target="_blank"><i class="fa-brands fa-instagram"></i></a></li>
1821
{{- end }}
22+
{{- with .threads }}
23+
<li><a href="https://www.threads.net/@{{ . }}" rel="me" target="_blank"><i class="fa-brands fa-threads"></i></a></li>
24+
{{- end }}
1925
{{- with .tumblr }}
2026
<li><a href="https://{{ . }}.tumblr.com" rel="me" target="_blank"><i class="fa-brands fa-tumblr"></i></a></li>
2127
{{- end }}
@@ -76,6 +82,9 @@
7682
{{- with .youtube }}
7783
<li><a href="https://youtube.com/{{ . }}" rel="me" target="_blank"><i class="fa-brands fa-youtube"></i></a></li>
7884
{{- end }}
85+
{{- with .tiktok }}
86+
<li><a href="https://www.tiktok.com/@{{ . }}" rel="me" target="_blank"><i class="fa-brands fa-tiktok"></i></a></li>
87+
{{- end }}
7988
{{- with .vimeo }}
8089
<li><a href="https://vimeo.com/{{ . }}" rel="me" target="_blank"><i class="fa-brands fa-vimeo"></i></a></li>
8190
{{- end }}

0 commit comments

Comments
 (0)