{{ with .Params.twitter }}
{{ if ne .card "app" -}}
{{ with .image_alt -}}{{- end }}
{{- end }}
{{ with .creator -}}{{- end }}
{{- if eq .card "app" }}
{{ with .app_country }}{{ end }}
{{ with .app_name_iphone }}{{ end }}
{{ with .app_id_iphone }}{{ end }}
{{ with .app_url_iphone }}{{ end }}
{{ with .app_name_ipad }}{{ end }}
{{ with .app_id_ipad }}{{ end }}
{{ with .app_url_ipad }}{{ end }}
{{ with .app_name_googleplay }}{{ end }}
{{ with .app_id_googleplay }}{{ end }}
{{ with .app_url_googleplay }}{{ end }}
{{- end }}
{{- if eq .card "player" }}
{{ with .player }}{{ end }}
{{ with .player_width }}{{ end }}
{{ with .player_height }}{{ end }}
{{ with .player_stream }}{{ end }}
{{ with .player_stream_content_type }}{{ end }}
{{- end }}
{{ end }}