{{define "index"}}{{template "head"}}
{{template "app" .}}
{{template "foot"}}{{end}} {{/* app is section.todoapp's contents: the whole page body, and what a fragment request gets back. Forms are display: contents (app.css), so the markup lays out exactly as TodoMVC's template. */}} {{define "app"}}{{$f := .Filter}}

todos

{{- if .Total}}
{{- end}} {{end}}