{{ $slug := ((.Context).Value "params").Slug }} {{ $deleteErr := ((.Context).Value "file-manager").Remove $slug }} {{ template "header" . }} {{ if $deleteErr }}