8 lines
191 B
Plaintext
8 lines
191 B
Plaintext
|
{{ define "body" }}
|
||
|
{{ template "header" . }}
|
||
|
body: {{ .Name | title}} is {{ .Age }} years old
|
||
|
{{ template "footer" .Name }}
|
||
|
{{ end }}
|
||
|
|
||
|
{{ define "title" }} This is {{ . }}'s body {{ end }}
|