diff options
author | Matúš Námešný <matus@namesny.com> | 2022-01-20 12:16:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 12:16:56 +0300 |
commit | 084eef29e66f6031dbc9e71db04684a1852390a0 (patch) | |
tree | 5209e4c77ff8dd3aa26415ec934024853fa8203f | |
parent | 4f2872784df4cb4ed0369734529336527427eec5 (diff) | |
parent | 863c9b418526de2771804a0b34b0580ed2d1a1f2 (diff) |
adds twitch to socials
-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 }} |