{{- $url := .Get 0 -}}
From {{ strings.TrimPrefix "https://" $url }}:
{{- $dnt := true -}}
{{- $query := querify "url" $url "dnt" $dnt -}}
{{- $request := printf "https://publish.twitter.com/oembed?%s" $query -}}
{{- $json := getJSON $request -}}
{{- replaceRE "" "" $json.html | safeHTML -}}