Youtube multi supportURL
Youtube social link now support different type of URL. Custom, channel and the legacy user
This commit is contained in:
@@ -63,6 +63,9 @@ googleAnalytics = ""
|
||||
Telegram = "xxxx"
|
||||
Medium = "xxxx"
|
||||
Gitlab = "xxxx"
|
||||
Youtubelegacy = "xxxx"
|
||||
Youtubecustom = "xxxx"
|
||||
Youtubechannel = "xxxx"
|
||||
Youtube = "xxxx"
|
||||
Tumblr ="xxxx"
|
||||
Quora = "xxxx"
|
||||
|
||||
@@ -25,9 +25,15 @@
|
||||
{{ with .Site.Params.Social.Gitlab}}
|
||||
<a href="https://gitlab.com/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-gitlab"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Social.Youtube}}
|
||||
{{ with .Site.Params.Social.Youtubelegacy}}
|
||||
<a href="https://www.youtube.com/user/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-youtube"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Social.Youtubecustom}}
|
||||
<a href="https://www.youtube.com/c/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-youtube"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Social.Youtubechannel}}
|
||||
<a href="https://www.youtube.com/channel/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-youtube"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Social.Tumblr}}
|
||||
<a href="https://{{.}}.tumblr.com" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-tumblr"></i></a>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user