1 2 3 4 5 6 7 8 9
{{ define "title"}}Trains!{{ end }} {{ template "base" . }} {{ define "main" }} <h3>Menu</h3> <ul> <li><a href="/stop">Stop list</a></li> </ul> {{ end }}