summaryrefslogtreecommitdiffstats
path: root/tpl/tplimpl/embedded/templates.autogen.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/tplimpl/embedded/templates.autogen.go')
-rw-r--r--tpl/tplimpl/embedded/templates.autogen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go
index 0b57077bb..50016764f 100644
--- a/tpl/tplimpl/embedded/templates.autogen.go
+++ b/tpl/tplimpl/embedded/templates.autogen.go
@@ -422,7 +422,7 @@ if (!doNotTrack) {
{{- if $pc.Simple -}}
{{ template "_internal/shortcodes/twitter_simple.html" . }}
{{- else -}}
-{{- $url := printf "https://api.twitter.com/1/statuses/oembed.json?id=%s&dnt=%t" (index .Params 0) $pc.EnableDNT -}}
+{{- $url := printf "https://api.twitter.com/1/statuses/oembed.json?id=%v&dnt=%t" (index .Params 0) $pc.EnableDNT -}}
{{- $json := getJSON $url -}}
{{ $json.html | safeHTML }}
{{- end -}}