blob: d9bef725ff2427470be7c5ff047efd46672fe8a9 (
plain)
1
2
3
4
|
{{- $pc := .Page.Site.Config.Privacy.Twitter -}}
{{- if not $pc.Disable -}}
{{ (getJSON "https://api.twitter.com/1/statuses/oembed.json?id=" (index .Params 0)).html | safeHTML }}
{{- end -}}
|