}}
  {{- $query := querify "url" $url "dnt" $dnt "omit_script" true -}}
  {{- $request := printf "https://publish.x.com/oembed?%s" $query -}}
  {{- with try (resources.GetRemote $request) -}}
    {{- with .Err -}}
      {{- warnidf "shortcode-x-simple-getremote" "The %q shortcode was unable to retrieve the remote data: %s. See %s" $.ctx.Name . $.ctx.Position -}}
    {{- else with .Value -}}
      {{- if not site.Config.Services.X.DisableInlineCSS }}
        {{- template "__h_simple_x_css" (dict "ctx" $.ctx)