{{ $slug := ((.Context).Value "params").Slug }} {{ $newSlug := .FormValue "slug" }} {{ $title := .FormValue "title" }} {{ $content := .FormValue "content" }} {{ $saveErr := ((.Context).Value "adapter").SavePage $slug $newSlug $title $content }} {{ template "header" . }} {{ if $saveErr }}