{{ $slug := ((.Context).Value "params").Slug }} {{ $page := ((.Context).Value "adapter").GetPage $slug }} {{ $editMode := ((.Context).Value "adapter").EditMode }} {{ $editModes := (.Context).Value "edit-modes" }} {{ template "header" . }}
last edited {{($page).Edited}} {{ if eq $editMode 0 }} {{ else }}
{{($page).Content}}
{{ end }}
{{ template "footer" . }}