{{- $path := .Get "path" -}} {{- $height := .Get "height" | default "600px" -}} {{- $width := .Get "width" | default "100%" -}} {{- if not $path -}} {{- errorf "graphql-voyager shortcode: 'path' parameter is required" -}} {{- end -}} {{- /* Generate a unique ID for this voyager instance */ -}} {{- $id := printf "voyager-%d" (now.UnixNano) -}}