mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 19:06:16 +01:00
Youtube multi supportURL
Youtube social link now support different type of URL. Custom, channel and the legacy user
This commit is contained in:
parent
92a5199686
commit
c9bcad87a2
2 changed files with 10 additions and 1 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue