1 2 3 4 5 6 7 8 9
{{template "base" .}} {{define "title"}}Paste: {{.Title}}{{end}} {{define "content"}} <h1>Paste: "{{.Title}}"</h1> <pre><code>{{.GetContent}}</pre></code> {{end}}