{{ $slug := ((.Context).Value "params").Slug }} {{ $file := (.Context).Value "file-data" }} {{ $csrfToken := (.Context).Value "csrfToken" }} {{ template "header" . }} {{ if ($file).Error }}