{{ if .Params.type }}
<span class="social_logo">{{ readFile (printf "static/images/posts/%s.svg" .Params.type) | safeHTML }}</span>
{{- end -}}