{{- $share := (.Scratch.Get "params").page.share | default dict -}} {{- if $share.enable -}} {{- /* 001: Twitter */ -}} {{- if $share.Twitter -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-twitter fa-fw") -}} {{- end -}} {{- /* 002: Facebook */ -}} {{- if $share.Facebook -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-facebook-square fa-fw") -}} {{- end -}} {{- /* 003: Linkedin */ -}} {{- if $share.Linkedin -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-linkedin fa-fw") -}} {{- end -}} {{- /* 004: WhatsApp */ -}} {{- if $share.Whatsapp -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-whatsapp fa-fw") -}} {{- end -}} {{- /* 005: Viber */ -}} {{- if $share.Viber -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-viber fa-fw") -}} {{- end -}} {{- /* 006: Pinterest */ -}} {{- if $share.Pinterest -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-pinterest fa-fw") -}} {{- end -}} {{- /* 007: Tumblr */ -}} {{- if $share.Tumblr -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-tumblr fa-fw") -}} {{- end -}} {{- /* 008: Hacker News */ -}} {{- if $share.Hackernews -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-hacker-news fa-fw") -}} {{- end -}} {{- /* 009: Reddit */ -}} {{- if $share.Reddit -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-reddit fa-fw") -}} {{- end -}} {{- /* 010: VK */ -}} {{- if $share.VK -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-vk fa-fw") -}} {{- end -}} {{- /* 011: Buffer */ -}} {{- if $share.Buffer -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-buffer fa-fw") -}} {{- end -}} {{- /* 012: Xing */ -}} {{- if $share.Xing -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-xing fa-fw") -}} {{- end -}} {{- /* 013: Line */ -}} {{- if $share.Line -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-line fa-fw") -}} {{- end -}} {{- /* 014: Instapaper */ -}} {{- if $share.Instapaper -}} {{- partial "plugin/icon.html" (dict "class" "loveit it-instapaper-fill" "type" "other" "scratch" .Scratch) -}} {{- end -}} {{- /* 015: Pocket */ -}} {{- if $share.Pocket -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-get-pocket fa-fw") -}} {{- end -}} {{- /* 016: Digg */ -}} {{- if $share.Digg -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-digg fa-fw") -}} {{- end -}} {{- /* 017: StumbleUpon */ -}} {{- if $share.Stumbleupon -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-stumbleupon fa-fw") -}} {{- end -}} {{- /* 018: Flipboard */ -}} {{- if $share.Flipboard -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-flipboard fa-fw") -}} {{- end -}} {{- /* 019: 微博 */ -}} {{- if $share.Weibo -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-weibo fa-fw") -}} {{- end -}} {{- /* 020: 人人 */ -}} {{- if $share.Renren -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-renren fa-fw") -}} {{- end -}} {{- /* 021: Myspace */ -}} {{- if $share.Myspace -}} {{- partial "plugin/icon.html" (dict "class" "loveit it-myspace-fill" "type" "other" "scratch" .Scratch) -}} {{- end -}} {{- /* 022: Blogger */ -}} {{- if $share.Blogger -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-blogger fa-fw") -}} {{- end -}} {{- /* 023: 百度 */ -}} {{- if $share.Baidu -}} {{- partial "plugin/icon.html" (dict "class" "loveit it-baidu-fill" "type" "other" "scratch" .Scratch) -}} {{- end -}} {{- /* 024: OK.RU */ -}} {{- if $share.Odnoklassniki -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-odnoklassniki fa-fw") -}} {{- end -}} {{- /* 025: Evernote */ -}} {{- if $share.Evernote -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-evernote fa-fw") -}} {{- end -}} {{- /* 026: Skype */ -}} {{- if $share.Skype -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-skype fa-fw") -}} {{- end -}} {{- /* 027: Trello */ -}} {{- if $share.Trello -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-trello fa-fw") -}} {{- end -}} {{- /* 028: Mix */ -}} {{- if $share.Mix -}} {{- partial "plugin/icon.html" (dict "class" "fab fa-mix fa-fw") -}} {{- end -}} {{- end -}}