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"
|
Telegram = "xxxx"
|
||||||
Medium = "xxxx"
|
Medium = "xxxx"
|
||||||
Gitlab = "xxxx"
|
Gitlab = "xxxx"
|
||||||
|
Youtubelegacy = "xxxx"
|
||||||
|
Youtubecustom = "xxxx"
|
||||||
|
Youtubechannel = "xxxx"
|
||||||
Youtube = "xxxx"
|
Youtube = "xxxx"
|
||||||
Tumblr ="xxxx"
|
Tumblr ="xxxx"
|
||||||
Quora = "xxxx"
|
Quora = "xxxx"
|
||||||
|
|||||||
@@ -25,9 +25,15 @@
|
|||||||
{{ with .Site.Params.Social.Gitlab}}
|
{{ with .Site.Params.Social.Gitlab}}
|
||||||
<a href="https://gitlab.com/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-gitlab"></i></a>
|
<a href="https://gitlab.com/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-gitlab"></i></a>
|
||||||
{{ end }}
|
{{ 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>
|
<a href="https://www.youtube.com/user/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-youtube"></i></a>
|
||||||
{{ end }}
|
{{ 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}}
|
{{ with .Site.Params.Social.Tumblr}}
|
||||||
<a href="https://{{.}}.tumblr.com" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-tumblr"></i></a>
|
<a href="https://{{.}}.tumblr.com" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-tumblr"></i></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user