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

github.com/shenoybr/hugo-goa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaichi Sasaki <tchsskk@gmail.com>2019-03-09 10:53:24 +0300
committerTaichi Sasaki <tchsskk@gmail.com>2019-03-09 10:53:28 +0300
commita44c11148957b1a2a3145b816dac0efe403e1218 (patch)
treef308872a54bbfd87c4e08e9f625540696d1c2208
parenta67beb1e2acd1c6b0b28aa179917b0656e78f56e (diff)
Use channel ID instead of username for YouTube
-rw-r--r--README.md2
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/social.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 0b9881a..e6c6541 100644
--- a/README.md
+++ b/README.md
@@ -132,7 +132,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 fb1f8a1..e04f4bf 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -56,7 +56,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 b3568e3..07b3f8b 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -75,7 +75,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>