{{ $slug := ((.Context).Value "params").Slug }} {{ $newDir := .FormValue "dirname" }} {{ $mkdirError := ((.Context).Value "file-manager").MkDir $slug $newDir }} {{ template "header" . }} {{ if $mkdirError }}