{{ $url := .Get 0 }} {{ with .Page.Params.downloads }} {{ range . }} {{ $filename := index (split .url "/") (sub (len (split .url "/")) 1) }} {{ $target := .target }} {{ end }}
{{ .target }} {{ $filename }}
{{ end }}