goldsmith/plugins/layout/testdata/source/page.gohtml

13 lines
195 B
Plaintext
Raw Permalink Normal View History

2024-02-17 06:35:49 +00:00
{{define "page"}}
<html>
<body>
{{template "title" .Props.Title}}
{{template "content" .Props.Content}}
</body>
</html>
{{end}}
{{define "content"}}
<p>{{.}}</p>
{{end}}