diff --git a/assets/ananke/css/_social-icons.css b/assets/ananke/css/_social-icons.css index 148d99f..107865f 100644 --- a/assets/ananke/css/_social-icons.css +++ b/assets/ananke/css/_social-icons.css @@ -62,3 +62,7 @@ .rss:hover{ fill: #ff6f1a; } + +.twitch:hover { + fill: #772CE8; +} diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9d6a04b..454d13e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -34,6 +34,7 @@ enableRobotsTXT = true twitter = "https://twitter.com/GoHugoIO" instagram = "" youtube = "" + twitch = "" github = "" gitlab = "" linkedin = "" diff --git a/layouts/partials/social-follow.html b/layouts/partials/social-follow.html index 0755ce2..95d0376 100644 --- a/layouts/partials/social-follow.html +++ b/layouts/partials/social-follow.html @@ -30,6 +30,12 @@ {{- partial "new-window-icon.html" . -}} {{ end }} +{{ with .Param "twitch" }} + + {{ partial "svg/twitch.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} {{ with .Param "linkedin" }} {{ partial "svg/linkedin.svg" (dict "size" $icon_size) }} diff --git a/layouts/partials/svg/twitch.svg b/layouts/partials/svg/twitch.svg new file mode 100644 index 0000000..2f4f635 --- /dev/null +++ b/layouts/partials/svg/twitch.svg @@ -0,0 +1 @@ + \ No newline at end of file