feature(share): support 28 kinds of share links

This commit is contained in:
Dillon
2020-02-18 02:53:07 +08:00
parent ad4655ce6a
commit 434f8fa676
18 changed files with 397 additions and 202 deletions

View File

@@ -82,7 +82,7 @@
{{- partial "function/icon-link.html" $options -}}
{{- end -}}
{{- /* 013: Tumblr */ -}}
{{- /* 013: Quora */ -}}
{{- with .Site.Params.Social.Quora -}}
{{- $options := dict "href" (printf "https://www.quora.com/profile/%s" .) "title" "Quora" -}}
{{- $options = dict "class" "fab fa-quora fa-fw" | merge $options -}}
@@ -152,9 +152,9 @@
{{- partial "function/icon-link.html" $options -}}
{{- end -}}
{{- /* 023: VKontakte */ -}}
{{- with .Site.Params.Social.VKontakte -}}
{{- $options := dict "href" (printf "https://vk.com/%s" .) "title" "VKontakte" -}}
{{- /* 023: VK */ -}}
{{- with .Site.Params.Social.VK -}}
{{- $options := dict "href" (printf "https://vk.com/%s" .) "title" "VK" -}}
{{- $options = dict "class" "fab fa-vk fa-fw" | merge $options -}}
{{- partial "function/icon-link.html" $options -}}
{{- end -}}