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