mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-29 20:11:10 +00:00
353148c2bc
See #4751
4 lines
No EOL
188 B
HTML
Executable file
4 lines
No EOL
188 B
HTML
Executable file
{{- $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 -}} |