{{define "head"}} {{option .Meta "page_title"}} {{end}} {{define "code"}}
{{.}}
{{end}} {{define "notice"}}
[notice] {{template "code" result .Meta}}
{{end}} {{define "detail"}} {{$msg := .}} {{$key := append . "title"|meta}}
{{option . "title"}} {{range option . "ninput"|meta|list}} {{end}} {{if option . "refresh"}} {{end}}
{{end}} {{define "result"}}
{{option . "title"}} {{template "code" result .Meta|unscaped}}
{{end}} {{define "append_link"}} {{.}} {{end}} {{define "append"}}
{{option . "title"}} {{$msg := .}} {{$ncol := append . |len}} {{$nrow := append . 0|append .|len}} {{range append .}}{{end}} {{range $row, $val := append . 0|append .}} {{range append $msg}} {{$value := append $msg . $row}} {{end}} {{end}}
{{.}}
{{if eq . "filename"}} {{template "append_link" $value}} {{else}} {{$value}} {{end}}
{{end}} {{define "main"}} welcome to context world! {{end}} {{define "tail"}} {{end}}