{{- with .Get "url" -}} {{ $filename := replaceRE `.*/blob/.+/(.*)` "$1" . }} {{ $path := replaceRE `.*/blob/.*?/(.*)` "$1" . }} {{- end -}}