{{- if .Params.share.enable | default .Site.Params.share.enable | eq true -}}
{{- /* 001: Twitter */ -}}
{{- if .Params.Share.Twitter | default .Site.Params.Share.Twitter | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-twitter fa-fw") -}}
{{- end -}}
{{- /* 002: Facebook */ -}}
{{- if .Params.Share.Facebook | default .Site.Params.Share.Facebook | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-facebook-square fa-fw") -}}
{{- end -}}
{{- /* 003: Reddit */ -}}
{{- if .Params.Share.Reddit | default .Site.Params.Share.Reddit | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-reddit fa-fw") -}}
{{- end -}}
{{- /* 004: Linkedin */ -}}
{{- if .Params.Share.Linkedin | default .Site.Params.Share.Linkedin | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-linkedin fa-fw") -}}
{{- end -}}
{{- /* 005: Pinterest */ -}}
{{- if .Params.Share.Pinterest | default .Site.Params.Share.Pinterest | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-pinterest fa-fw") -}}
{{- end -}}
{{- /* 006: Hacker News */ -}}
{{- if .Params.Share.Hackernews | default .Site.Params.Share.Hackernews | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-hacker-news fa-fw") -}}
{{- end -}}
{{- /* 007: Mix */ -}}
{{- if .Params.Share.Mix | default .Site.Params.Share.Mix | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-mix fa-fw") -}}
{{- end -}}
{{- /* 008: Tumblr */ -}}
{{- if .Params.Share.Tumblr | default .Site.Params.Share.Tumblr | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-tumblr fa-fw") -}}
{{- end -}}
{{- /* 009: VKontakte */ -}}
{{- if .Params.Share.VKontakte | default .Site.Params.Share.VKontakte | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-vk fa-fw") -}}
{{- end -}}
{{- /* 010: 微博 */ -}}
{{- if .Params.Share.Weibo | default .Site.Params.Share.Weibo | eq true -}}
{{- partial "function/icon.html" (dict "class" "fab fa-weibo fa-fw") -}}
{{- end -}}
{{- end -}}