From c9bcad87a2a5384416d6c4953a1a4ba578792433 Mon Sep 17 00:00:00 2001 From: Giuseppe Pignataro Date: Tue, 12 Mar 2019 02:20:11 +0100 Subject: [PATCH] Youtube multi supportURL Youtube social link now support different type of URL. Custom, channel and the legacy user --- exampleSite/config.toml | 3 +++ layouts/partials/social.html | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 5eba0b33..27b71f50 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -63,6 +63,9 @@ googleAnalytics = "" Telegram = "xxxx" Medium = "xxxx" Gitlab = "xxxx" + Youtubelegacy = "xxxx" + Youtubecustom = "xxxx" + Youtubechannel = "xxxx" Youtube = "xxxx" Tumblr ="xxxx" Quora = "xxxx" diff --git a/layouts/partials/social.html b/layouts/partials/social.html index cf926402..a0b53883 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -25,9 +25,15 @@ {{ with .Site.Params.Social.Gitlab}} {{ end }} -{{ with .Site.Params.Social.Youtube}} +{{ with .Site.Params.Social.Youtubelegacy}} {{ end }} +{{ with .Site.Params.Social.Youtubecustom}} + +{{ end }} +{{ with .Site.Params.Social.Youtubechannel}} + +{{ end }} {{ with .Site.Params.Social.Tumblr}} {{ end }}