diff options
author | Rajesh Shenoy <shenoybr@users.noreply.github.com> | 2019-09-18 12:18:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-18 12:18:24 +0300 |
commit | ccec9e019966fb0f3eb681512ea02b98ac8d6bcf (patch) | |
tree | aa86decb242380322afb1144a8dd22ee46fe6366 | |
parent | 96a2169c1a0d600bbb7d0de759b744b880fa42f1 (diff) | |
parent | a44c11148957b1a2a3145b816dac0efe403e1218 (diff) |
Merge pull request #63 from tchssk/youtube
Use channel ID instead of username for YouTube
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/partials/social.html | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -133,7 +133,7 @@ These settings to display your social accounts. - `snapchat`: Your [Snapchat](https://snapchat.com) username. - `keybase`: Your [Keybase](https://keybase.io) username. - `twitch`: Your [Twitch](https://twitch.tv) username. -- `youtube`: Your [YouTube](https://youtube.com) username. +- `youtube`: Your [YouTube](https://youtube.com) channel ID. - `soundcloud`: Your [Soundcloud](https://soundcloud.com) username. - `tumblr`: Your [Tumblr](https://tumblr.com) username. - `strava`: Your [Strava](https://strava.com) username. diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 004a2bb..cd36631 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -57,7 +57,7 @@ pintrest = "<username>" steam = "<username>" reddit = "<username>" snapchat = "<username>" -youtube = "<username>" +youtube = "<channelid>" keybase = "<username>" twitch = "<username>" soundcloud = "<username>" diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 2745b10..b1af75f 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -78,7 +78,7 @@ <a href="https://snapchat.com/add/{{.}}" aria-label="Snapchat" target="_blank"><i class="fab fa-snapchat" aria-hidden="true"></i></a> {{ end }} {{ with .Site.Params.social.youtube}} - <a href="https://youtube.com/user/{{.}}" aria-label="Youtube" target="_blank"><i class="fab fa-youtube" aria-hidden="true"></i></a> + <a href="https://youtube.com/channel/{{.}}" aria-label="Youtube" target="_blank"><i class="fab fa-youtube" aria-hidden="true"></i></a> {{ end }} {{ with .Site.Params.social.keybase}} <a href="https://keybase.io/{{.}}" aria-label="Keybase" target="_blank"><i class="fab fa-keybase" aria-hidden="true"></i></a> |