17 lines
238 B
Plaintext
17 lines
238 B
Plaintext
{{define "page"}}
|
|
<html>
|
|
<body>
|
|
{{template "title" .Props.Title}}
|
|
{{template "content" .Props.Content}}
|
|
</body>
|
|
</html>
|
|
{{end}}
|
|
|
|
{{define "title"}}
|
|
<h1>{{.}}</h1>
|
|
{{end}}
|
|
|
|
{{define "content"}}
|
|
<p>{{.}}</p>
|
|
{{end}}
|