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