Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/LordMathis/hugo-theme-nix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--layouts/partials/social.html3
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index df763f0..d37b541 100644
--- a/README.md
+++ b/README.md
@@ -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 }}