1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{{define "recipestep"}} <html> {{ template "head" }} <header> <nav> <a href="/">HOME</a> </nav> <h1>Recipe step</h1> </header> <body> <main> <p>{{.Text}}</p> </main> {{ template "footer" }} </body> </html> {{end}}