{{ if ($.Param "share") }} {{ if gt (len ($.Param "share").options) 0 }}
{{ i18n "share-message" }}
{{ $ctx := . }} {{ $site := .Site }} {{ range $.Param "share.options" }} {{ if eq (lower .) "facebook" }} {{ partial "svgs/share/facebook.svg" (dict "width" 22 "height" 22) }} {{ i18n "facebook" | default "Facebook" }} {{ else if eq (lower .) "twitter" }} {{ partial "svgs/share/twitter.svg" (dict "width" 22 "height" 22) }} {{ i18n "twitter" | default "Twitter" }} {{ else if eq (lower .) "reddit" }} {{ partial "svgs/share/reddit.svg" (dict "width" 22 "height" 22) }} {{ i18n "reddit" | default "Reddit" }} {{ else if eq (lower .) "linkedin" }} {{ partial "svgs/share/linkedin.svg" (dict "width" 22 "height" 22) }} {{ i18n "linkedin" | default "LinkedIn" }} {{ else if eq (lower .) "tumblr" }} {{ partial "svgs/share/tumblr.svg" (dict "width" 22 "height" 22) }} {{ i18n "linkedin" | default "LinkedIn" }} {{ else if eq (lower .) "weibo" }} {{ partial "svgs/share/weibo.svg" (dict "width" 22 "height" 22) }} {{ i18n "weibo" | default "Weibo" }} {{ else if eq (lower .) "douban" }} {{ partial "svgs/share/douban.svg" (dict "width" 22 "height" 22) }} {{ i18n "douban" | default "Douban" }} {{ else if eq (lower .) "line" }} {{ partial "svgs/share/line.svg" (dict "width" 22 "height" 22) }} {{ i18n "line" | default "Line" }} {{ end }} {{ end }}
{{ end }} {{ end }}