diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | layouts/partials/social.html | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -57,6 +57,7 @@ Optionaly you can add any of these social networks to the \[params\] section. StackOverflowID = "your_stackoverflow_id" TelegramID = "your_telegram" TwitterID = "your_twitter" + TwitchID = "your_twitch_username" XingURL = "https://www.xing.com/profile/..." # For youtube, since there are multiple path urls please add everything after https://youtube.com/ in channel url YoutubeID = "c/your_youtube_id" diff --git a/layouts/partials/social.html b/layouts/partials/social.html index c63cb67..d73b9dd 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -44,6 +44,9 @@ <!-- For youtube, since there are multiple path urls please add everything after https://youtube.com/ in channel url --> <a href="https://youtube.com/{{.}}" rel="me" title="Youtube"><i class="fab fa-youtube fa-3x" aria-hidden="true"></i></a> {{ end }} +{{ with .Site.Params.TwitchID }} +<a href="https://twitch.tv/{{.}}" rel="me" title="Twitch"><i class="fab fa-twitch fa-3x" aria-hidden="true"></i></a> +{{ end }} {{ with .Site.Params.SpotifyID }} <a href="https://open.spotify.com/user/{{.}}" rel="me" title="Spotify"><i class="fab fa-spotify fa-3x" aria-hidden="true"></i></a> {{ end }} |